Hi
I "created" the following code, however, when both criteria are okay, it stil gives the "errormasage"
Hope you can assist
I "created" the following code, however, when both criteria are okay, it stil gives the "errormasage"
<?php
$datum = JRequest::getString('Wedstrijddatum', '', 'post');
$user_info = JRequest::getString('cb_lidcode', '', 'post');
$db =& JFactory::getDBO();
$query = "
SELECT *
FROM `jos_chronoforms_PITCHenPUTT_TESTEN`
WHERE `Wedstrijddatum` = '$datum' AND `cb_lidcode` = '$user_info';
";
$db->setQuery($query);
if ($db->loadResult() ) {
}
{ return "You did not subcribe etc etc";
}
?>Hope you can assist
This topic is locked and no more replies can be posted.
