$con = mysql_connect("localhost","*****","********");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("*******_car", $con);
$result = mysql_query("SELECT * FROM 'users' WHERE 'userid' = $user");
while($row = mysql_fetch_array($result))
{
echo "<b>Loyal Since ";
**49** echo "$row['date_joined'];";
echo "</b>";
}
mysql_close($con);
I have no idea what the hell is wrong, I just want to display a date for each user saying “Loyal since 1st January” etc.
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/public_html//index.php* on line 49