php - Display MySQL errors Joomla 2.5 -
php - Display MySQL errors Joomla 2.5 -
how can display if there error after executing lastly query query()
or execute()
in joomla 2.5?
currently using var_dump($wsr_db_object->stderr(true));
not show mysql errors. helps query executed or not?
edit:
here how running
$rw_db_object->setquery($insert_rw_cats); $rw_db_object->query(); var_dump($wsr_db_object->stderr(true));
joomla has built in dump method so:
$query->dump();
when writing queries, please refer joomla documentation
hope helps
update:$rw_db_object->setquery($insert_rw_cats); $rw_db_object->query(); $rw_db_object->dump();
php mysql joomla joomla2.5
Comments
Post a Comment