Nevite jak spravne napsat nasledujici?
Nyni to dava hlasku:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /3w/webzdarma.cz/s/jmeno/vypisdlezadani.php on line 7
<body bgcolor="#FFFFFF">
<?
$spojeni = mysql_connect("mysql.wz.cz","jmeno","heslo" );
mysql_select_db(jmeno, $spojeni);
$vysledek = mysql_query("select * from t1106 WHERE sloup1 LIKE $stat",$spojeni);
$zaznam = mysql_fetch_array($vysledek);
echo $zaznam["sloup1"];
echo $zaznam["sloup2"];
?>
</body>