PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi folks, I don't understand, why does this error shows up when it is running on the web server, but not on my local server ?
Fatal error: Call to undefined function mysqli_query() in......on line xx
I have read an article that I searched from google. It says that in order mysqli_query to work, I need to use mysqli_connect, which I have done it even before I found the article. But it doesn't seem to work and I do not know why ?
Hi, thanks for the reply. Yes, you're right, they don't support mysqli. But they allow me to create my own php.ini file, is it still possible if I just copy and paste the "extension=php_mysqli.dll" ??? There is a link to create a php.ini, but when I click on it, I have only an empty textarea and commented "WRITE YOUR PHP EXTENSIONS HERE..." ....
No volka, nothing !....I asked the technical support and it took them for like 24 hours to answer ! They say they support for the mysqli extension. But this morning, I tested it using phpinfo(); still the extension mysqli doesn't in the list !
So, if they don't support it. Means that I should change my mysqli into mysql ?
The web hosting doesn't support mysqli because they don't installed the extension by reason, which is that the mysqli functions are not yet stable, compared to mysql.