php - Get a value from object -
my query return stdclass of objects
how can value of - affected_rows -
object ( [affected_rows] => 0 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => array ( ) [field_count] => 0 [host_info] => localhost [stat] => uptime: 261195 threads: 5 questions: 14167 slow queries: 0 opens: 2969 flush tables: 1 open tables: 191 queries per second avg: 0.054 [thread_id] => 1593 [warning_count] => 0 ) [result:protected] => mysqli
i tried pass objects array dont works
thanks
properties of object accessed ->
var_dump($object->affected_rows);
Comments
Post a Comment