knekyen Posted June 18, 2008 Share Posted June 18, 2008 Hello, I have a wierd problem. I try to connect to my mySQL database using PHP, using simpel code from the toturial. But nothing happends when I launch the page I have coded. And if I try to reveal the source code from the browser, nothing comes up. I have also tried to add some simple PHP code like show the date, but nothing happends, and no source code is reveald in the browser. If I // out the part where I try to connect to my database, the date works fine... It looks like everything stops working at the .php page when I try to connect to the database. Someone who can help me with this? I hope so, because I am stuck, and I have google the entire Internett.... (I have version 5.0 of mySQL server) Link to comment https://forums.phpfreaks.com/topic/110793-problems-regarding-php-mysql/ Share on other sites More sharing options...
fenway Posted June 18, 2008 Share Posted June 18, 2008 Someone who can help me with this? I hope so, because I am stuck, and I have google the entire Internett.... Then you would know to turn on error reporting.... Link to comment https://forums.phpfreaks.com/topic/110793-problems-regarding-php-mysql/#findComment-568517 Share on other sites More sharing options...
revraz Posted June 18, 2008 Share Posted June 18, 2008 That's why I'm glad I had the entire Internet installed on my PC. I hope so, because I am stuck, and I have google the entire Internett.... (I have version 5.0 of mySQL server) Link to comment https://forums.phpfreaks.com/topic/110793-problems-regarding-php-mysql/#findComment-568535 Share on other sites More sharing options...
hitman6003 Posted June 19, 2008 Share Posted June 19, 2008 You probably have a syntax error in your php. Turn on startup errors: ini_set('display_startup_errors', 1); Link to comment https://forums.phpfreaks.com/topic/110793-problems-regarding-php-mysql/#findComment-568690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.