Jump to content

Small question...


Ansel_Tk1

Recommended Posts

Hi - wonder if someone could point out what I've done wrong here?

 

function Trigger_chkip(&$tNG) {

//redirect to quizcaptcha.php

$usripsallowed = 14;

if($totalRows_usrips > $usripsallowed) {

$redObj = new tNG_Redirect($tNG);

$redObj->setURL('quiz-captcha.php');

$redObj->setKeepURLParams(false);

return $redObj->Execute();

}

else

return true;

}

 

For some reason the script never directs to quiz-captcha.php even though $totalRows_usrips returns greater than 14. If I change the greater than to an equal it works. Any help would be appreciated.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/156406-small-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.