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!
I'm working with a form and database and having troubles. The main issue is that I'm getting a blank white page with no errors. How can I tell php to output errors to let me know if I'm connecting to the database or not.
But the problem is that I have other issues that are giving me a blank page and I want to see a success message not just a failed message. At least that way I know for certain that the connection is being made.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Thank you abracadaver! I'm assuming that over rides settings in the php.ini file? Before I reinstalled everything, my last installation was already putting out these types of errors but since upgrading to Ubuntu 10.04 and the latest Ubuntu version of php the errors went away. Also I found several php.ini files in doing a system wide search to find out where it was and I wasn't sure which one to edit.
This is great though. I'll just put it at the top of all my pages and remove it when a page is complete.
at the end of the open and close files and echo it out in the main file to make absolutely certain it didn't just freeze up somewhere and give me a blank page.