• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mysql_query() function Error

#1
Hello all!

Im getting this error and trying to fix it:

An uncaught Exception was encountered

Type: Error
Message: Call to undefined function mysql_query()
Filename: /home4/cultured/public_html/application/views/dashboard.php
Line Number: 332

Its from this line of code: 
$mysql=mysql_query("select * from messages order by msg_id desc");

Im connected to DB (include("application/config/database.php")); and upgraded within webhost from 5.4 to 7.0 php but still get this error. I feel that I suppose to add the table (citable) that I made within the database but not sure. How to correct this if possible?

Heart Heart ,
Mekaboo
Reply


Messages In This Thread
Mysql_query() function Error - by Mekaboo - 05-22-2019, 01:41 PM
RE: Mysql_query() function Error - by noobie - 05-22-2019, 03:04 PM
RE: Mysql_query() function Error - by Mekaboo - 05-22-2019, 04:52 PM
RE: Mysql_query() function Error - by MAILITY - 05-24-2019, 08:50 AM
RE: Mysql_query() function Error - by Mekaboo - 05-24-2019, 10:43 AM
RE: Mysql_query() function Error - by InsiteFX - 05-23-2019, 03:06 AM
RE: Mysql_query() function Error - by Mekaboo - 05-23-2019, 07:14 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.