PDA

View Full Version : help with how to run a query


aspire007
05 May 2002, 21:05
can someone give me some instructions on here as to how to run a query? I thank you for the help :)

afterlab
05 May 2002, 22:00
If you want to run a query in a PHP file, do this:

$variableX=mysql_query("INSERT QUERY HERE");

Now, when the page comes to that query, it'll run it. There's other options, but I can't explain them all..

Go to http://www.mysql.com

aspire007
05 May 2002, 22:58
thank you very much -- Great help :)