<?php $database2 =& JFactory::getDBO(); $query3 = "SELECT COUNT(*) FROM #__chronoforms_gastenlijst WHERE cf_user_id = '63'"; $database2->setQuery($query3); $row2 = $database2->loadObject(); echo $database2->getErrorMsg(); echo $row2->COUNT(*); ?>
the query works in phpmyadmin, it just doesn't show me anything in php. is there anything wrong with my code?
Thanks