mercredi 3 septembre 2014

Object of class stdClass could not be converted to string


Vote count:

0




I want to list all of my databases,so i've used this code:



$db_list=mysql_list_dbs($con);
while($db=mysql_fetch_object($db_list))
echo $db;


But i get this error "Object of class stdClass could not be converted to string" , any idea??



asked 22 secs ago







Object of class stdClass could not be converted to string

Aucun commentaire:

Enregistrer un commentaire