Quote:
Originally Posted by theDJ-scripts
In the most cases you can just replace "mysql_" with "mysqli_". If this also don't work, just check out your php.ini for extension=php_mysql.dll (or .so or without an extension, without # at the beginning). If you continue to have problems, please feel free to contact us.
|
Object oriented correct but procedural false, there you always have to give the connection:
PHP Code:
mysql_query($sql);
to
PHP Code:
mysqli_query($con, $sql);
You can try PDO-MYSQL too.