I just tried to retrieve a value from my mysql databade and tried to print that using php function. But this is not working 🙁 Please help.
<?php
include("connection.php");
$con=mysql_query("SELECT times FROM counts WHERE item='applemenu';");
$info = mysql_fetch_array($con);
$count==$info['times'];
?>
after some html tags
<?php echo $count;?>
Is there anything wrong ?
change this to