Hi Leute,
Ich habe folgendes Problem:
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/web5/html/urlaub/index.php on line 107"
Der Code:
Ich hoffe mir kann jemand helfen
Tim
Ich habe folgendes Problem:
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/web5/html/urlaub/index.php on line 107"
Der Code:
PHP-Code:
<?php
$sql123 = mysql_query("SELECT COUNT(*) FROM PMs WHERE to LIKE '".$_SESSION['user']."'");
$res2 = mysql_fetch_array($sql123);
echo($res2[0]);
?>
Tim
Kommentar