i fill information
i create a logic_hook, type before_save to check same infomation. If i write
result is$query="select id from m10_khachhang where name='$bean->name' and dienthoaicodinh='$bean->dienthoaicodinh' and deleted=0" ;
$results = $bean->db->query($query, true);
if($bean->db->getRowCount($results) != 0)
{
header('location:index.php?module=M10_Khachhang&ac tion=EditView&return_module=M10_Khachhang&return_a ction=DetailView');
die();
}
But i want if same infomation, will show alert and come back previous page
result is
i know use "header('location:index.php?module=M10_Khachhang&a ction=EditView&return_module=M10_Khachhang&return_ action=DetailView');" can't sloving my problem.I think i want use a different command or use a different way.
Please help me in sloving this problem
thanks & Regards


LinkBack URL
About LinkBacks





Reply With Quote
!
and may be create more by your selft
Bookmarks