Re: [PHP-WIN] Variable in the statement

2001-05-22 Thread Johannes Janson
Hi, >global $titel; > $titel='html' missing colon; > $db = mysql_connect("localhost", "root") or die ("Kan geen connectie > maken met het database programma. De Database server kan uit staan.");; > mysql_select_db("setf",$db) or die ("Kan geen connectie maken met de > database"); > > $r

[PHP-WIN] Variable in the statement

2001-05-22 Thread Pepijn Minderhoud
Hi, I've got a problem with variables. I am trying to make a select staement for mysql using a variable in the where clause. If i don't use the variable the result comes out fine but with it there are parser errors on other lines. Can anybody tell me how to insert a variable in such a script.