MySQL Forums
Forum List  »  PHP

Re: MySQL to json
Posted by: Peter Brawley
Date: April 07, 2014 10:59AM

> when i add more objects and update my php file that is online i only get a blank screen

That's usually due to an error. First, switch to mysqli API. Then at the top of the page add ...

ini_set( "display_errors", 1);
error_reporting( E_ALL ^ E_NOTICE );

and finally, poll mysqli_error() with each query & fetch call.

Options: ReplyQuote


Subject
Written By
Posted
April 05, 2014 02:23AM
Re: MySQL to json
April 07, 2014 10:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.