Menu
When I connect to a Database, I use this format:
[code=php]$db = mysqli_connect(‘localhost’,’root’,’password’) or die(‘Problem connecting’ . mysqli_error());
I haven’t seen the results of mysqli_error(). Is there a way, for testing and debugging to get actual “feedback” of the errors?
I used to get it in my much PHP days, before MySQL. blah blah blah on line 23. It used to shot up in the browser. So at least I could “isolate” the problem. Now days I only get a blank page and have to comment out potential trouble spots.