GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Friday, March 18, 2011

PHP - Get the result of MySQL

mysql_fetch_row
    Array ( [0] => 2 [1] => corolla [2] => toyota ) 
mysql_fetch_assoc
    Array ( [id] => 3 [brand] => accord [owner] => honda ) 
mysql_fetch_array
    Array ( [0] => 1 [id] => 1 [1] => saab [brand] => saab [2] => gm [owner] => gm ) 
mysql_fetch_object
    stdClass Object ( [id] => 4 [brand] => kijang [owner] => toyota )  

Share/Bookmark

No comments:

Post a Comment