* Steger Andras
> $result = mysql_query("SELECT * FROM employees WHERE first = $neve",$db)
You need quotes. try "... WHERE first = '$neve'"
--
Roger
-
Before posting, please check:
http://www.mysql.com/manual.php (the man
I am trying to write a query that gets the name of every
personr who has a neme: $neve
This parameter come from a form like this:
FORM ACTION="sqlphp.php" METHOD="post">
The following script is running, but if I write in the 7-th row:
$result = mysql_query("SELECT * FROM employees