INSERT INTO issue
Posted: Wed Dec 01, 2010 2:59 pm
I'm trying to inert data into a table but I am getting the following error:
Warning: mysqli_query() expects at least 2 parameters, 1 given in /home1/wildfir1/public_html/AREA-52/AG/index.php on line 33
What's wrong with my code?
Warning: mysqli_query() expects at least 2 parameters, 1 given in /home1/wildfir1/public_html/AREA-52/AG/index.php on line 33
What's wrong with my code?
Code: Select all
mysqli_query("INSERT INTO ag_pages (page_url, page_title, page_body)
VALUES ('/AREA-52/AG/test.htm', 'Test Page', 'This is a test page')");