RE: MySQL Query+PHP

2002-01-13 Thread Roger Baklund
* 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

MySQL Query+PHP

2002-01-13 Thread Stéger András
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