Can you recommend me some course in symfony php?

|
2021-04-25 14:07:02
i know the schema is out of date
vivek_01011 2021-04-25 16:25:17
Hello friends,
I have a little bit problem..
I have designe 3 package with different design..

And I want to fetch the package of database and display all of them that I make

But I don’t understand how to run loop..

vivek_01011 2021-04-25 16:25:30
codeslide-30477.jpg

vivek_01011 2021-04-25 16:25:43
I try like this..
criscap123 2021-04-25 18:23:43
People, I have a question. Can you recommend me some course in symfony php?
H_a_r_i_31 2021-04-25 18:29:21
In dompdf can I send pdf to mail without using database in php
kamleshjainforme 2021-04-25 18:57:22
vivek_01011 2021-04-25 16:25:30

May be your loop in condition are wrong.
May be this type condition
if($row[‘packages title field name’]==”gold”)
{
……
}

vivek_01011 2021-04-25 18:58:42
Row[2]= package filed name
kamleshjainforme 2021-04-25 18:59:41
Please send table picture
LiveRichly 2021-04-25 19:00:55
vivek_01011 2021-04-25 16:25:30

Bro use foreach and use $key and access the $value in loop

LiveRichly 2021-04-25 19:02:43
Don’t try to access giving static value like $row[2]. Make it dynamic
vivek_01011 2021-04-25 19:03:28
LiveRichly 2021-04-25 19:02:43
Don’t try to access giving static value like $row[2]. Make it dynamic

How

vivek_01011 2021-04-25 19:04:03
Table like this

packageid packagename icon

LiveRichly 2021-04-25 19:05:10
How table screenshot and also how the array using print_r
vivek_01011 2021-04-25 19:05:41
vivek_01011 2021-04-25 19:04:03
Table like this

packageid packagename icon

In table only three row

1 gold photo
2 silver photo
3 platinum photo

kamleshjainforme 2021-04-25 19:06:46
vivek_01011 2021-04-25 18:58:42
Row[2]= package filed name

That’s problem you can’t use direct package name

Use this
if($row[‘packagename’]==”gold”)
{
……
}

vivek_01011 2021-04-25 19:07:02
vivek_01011 2021-04-25 19:05:41
In table only three row

1 gold photo
2 silver photo
3 platinum photo

Now I want to fetch value of database and if gold then gold package design
And silver then silver package design like this

But frontside all package display

LiveRichly 2021-04-25 19:10:35
vivek_01011 2021-04-25 19:07:02
Now I want to fetch value of database and if gold then gold package design
And silver then silver package design like this

But frontside all package display

Yes you can access easyly but before that can you please do print_r your variable i.e print_r($row); exit();

LiveRichly 2021-04-25 19:10:54
After dng this please share the screenshot of that array
H_a_r_i_31 2021-04-25 19:27:07
File put contents file stored in a server that files how to send mail
H_a_r_i_31 2021-04-25 19:27:34
Php
2021-04-25 21:19:10
Please can anyone gimme a online code editor source code in php
ProHider 2021-04-26 02:56:29
2021-04-25 21:19:10
Please can anyone gimme a online code editor source code in php

If you got send it to me aslo

Palak Mahajan 2021-04-26 09:02:40
Can someone help me in making a form and add delete update and display cases
Musa Sane 2021-04-26 10:33:53
oh it worked
vivek_01011 2021-04-26 18:36:57
Hello friends
I have a little problem
I fetch record on 1 table
Using this table reference fetch second table record

And I want to at time one single row only of first table primary key

vivek_01011 2021-04-26 18:37:15
<div class=”row”>
<?php
$sel=$con->query(“select * from property”);
while($row=mysqli_fetch_array($sel))
{
if($row[14]!=0)
{

?>

<div class=”col-md-3″>
<div class=”property-item”>
<div class=”property-image bg-overlay-gradient-04″>
<?php
$image=$con->query(“select * from propertyimage where propertyid=$row[7]”);
while($imagerow=mysqli_fetch_array($image))
{
?>
<img class=”img-fluid” src=”<?php echo $imagerow[2]; ?>” alt=””>
<?php
}
?>

vivek_01011 2021-04-26 18:37:31
My code is Above
vivek_01011 2021-04-26 18:38:03
vivek_01011 2021-04-26 18:37:15
<div class=”row”>
<?php
$sel=$con->query(“select * from property”);
while($row=mysqli_fetch_array($sel))
{
if($row[14]!=0)
{

?>

<div class=”col-md-3″>
<div class=”property-item”>
<div class=”property-image bg-overlay-gradient-04″>
<?php
$image=$con->query(“select * from propertyimage where propertyid=$row[7]”);
while($imagerow=mysqli_fetch_array($image))
{
?>
<img class=”img-fluid” src=”<?php echo $imagerow[2]; ?>” alt=””>
<?php
}
?>

That code give me output all image at a time
But I want single image how can I

vivek_01011 2021-04-26 18:38:18
Anybody please
Shrey Agarwal 2021-04-26 19:03:35
Use limit query
Shrey Agarwal 2021-04-26 19:04:42
Select * from propertyimage where propertyid = $row[7] limit 1
Jerinje 2021-04-26 20:03:12
Any dev online pm
sanitizerx 2021-04-26 20:08:56
Jerinje 2021-04-26 20:03:12
Any dev online pm

Check your pm

2021-04-27 06:24:58
that’s for small groupchats
|