שלום! יש לי בעיה בהתחרברות לבסיס נתונים מסוג mySQL. הבעיה היא שאין לי שגיאה, זה לא מציג כלום - לומרות שיש רשומות במסד. אשמח לעזרה. תודה!
PHP קוד:
<?
$host="localhost";
$user="discer_discer";
$password="000";
$db="discer_funil";
$con=@mysql_connect($host,$user,$password);
@mysql_select_db($db);
$sqlquery="SELECT top 3 * FROM 'games'";
$theresult=@mysql_query($sqlquery,$con);
while ($recordeset=@mysql_fetch_array($theresult))
echo "<div class='game'><img src='images/".$recordeset["image"]."'class='game-img' /><br />";
echo $recordeset["descraption"];
echo "</div>";
?>