Jump to content

[SOLVED] Fatal error: Call to undefined function mysqi_query() in /srv/www/htdocs/adduser


s0c0

Recommended Posts

I get this error:

[quote]
Fatal error: Call to undefined function mysqi_query() in /srv/www/htdocs/adduser.php on line 14
[/quote]


When attempting to run this query against my mysql database:

[quote]
mysqi_query($con, "CREATE TABLE chris (id MEDIUMINT(9) auto_increment primary key, track VARCHAR(50) not null, artist VARCHAR(50) not null, album VARCHAR(50), year SMALLINT(4), genre VARCHAR(50), filelink VARCHAR(150), playlist VARCHAR(50))");
[/quote]

The mysqli connection is working as I am able to perform a query which inserts into a table.  Why am I unable to create a new table in the same database?  I have created a special user for queries against this db and create_priv is on in the mysql.user table.  Even when I try with root I get the same error! 

Any ideas?  Let me know if more information is needed.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.