I'm having a hard time concatenating with quotation within a quotation this question might not be useful to anyone but I really need this to work.
Here's the code and I want this to work properly but it seems like i'm making a mistake somewhere.
$query = "SELECT message,time,user_id FROM post ORDER BY time DESC";
$query_run = mysqli_query($con,$query);
while($row = mysqli_fetch_assoc($query_run))
{
$message = $row['message'];
$user_id = $row['user_id'];
echo "<img src= 'https://graph.facebook.com/'.'$user_id'.'/picture?width=50&height=40' class = 'post_dp'>";
}
I don't know how can concatenate user_id
with the link.