mysql fejl??:
her er scriptet:<?php
@mysql_connect("localhost","****","*****");
mysql_select_db("test");
$res = mysql_query("CREATE TABLE login (
bruger varchar(64),
pass varchar(64),
)
");
$res3 = mysql_query("INSERT INTO login (bruger, pass) VALUES ('Buha','2208')");
$res2 = mysql_query("SELECT * FROM login");
while($row = mysql_fetch_array($res2)) {
print $row["bruger"];
print "<br>";
}
mysql_close();
?>
men giver denne fejl:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\php\ny.php on line 12
Hjælp...