mysql_query() question

admin

Administrator
Staff member
Hi,
How do I use a variable in the mysql_query() function?
I have a text area where I can type my query and then submit it.

mysql_query($query); //Does not work!

mysql_query("CREATE watever (definitions etc)"); //Does work.

How can I make this work for my $query var?

Cheers

Nick
 
Back
Top