mysqli issue
-
Hi Guys
I have been running custom mysql queries for a while now and since upgrading to WP 3.92 and PHP V 5.5.9-1 i have issues.SInce the changes my sql queries are not working. I understand that perhaps 3.92 is now using mysqli instead. However I am still getting an issue
for example I have
$res=mysqli_query("select * from counties ORDER BY County ASC",MYSQLI_USE_RESULT);
The table name is in the WP database
but i get this error when running the above
Warning: mysqli_query() expects parameter 1 to be mysqli, string given
I beleive it needs the name of the db connection but i have no idea what that is.Any ideas or help would be greatly appreciated
Many thanks
Patrick
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘mysqli issue’ is closed to new replies.