Modifying the database from the front end - Joomla! Forum - community, help and support
are able use jtable modify database front end? keep getting following
error:
error:
fatal error: call member function bind() on non-object in /home/jmarket/public_html/components/com_jdm/jdm.php on line 106
code: select all
function savemydomain($option)
{
global $mainframe;
$row =& jtable::getinstance( 'domains' , 'table' );
if(!$row->bind(jrequest::get('post')))
{
echo "<script> alert('".$row->geterror()."');
window.history.go(-1); </script>\n";
exit();
}
if (!$row->store())
{
echo "<script> alert('".$row->geterror()."');
window.history.go(-1); </script>\n";
exit();
}
front_html_jdm::showmydomains();
}
figured out, including administrator side jtable... =p
Comments
Post a Comment