As You See Here
http://www.mysidiaadoptables.com/for...ead.php?t=1987 see step 6 below:
6. Now, to prevent some users from cheating. Open your doadopt.php, we'll just do a slight query modification.
Find this query
PHP Code:
$query = "SELECT * FROM ".$prefix."adoptables WHERE id='$id'";
replace that query with this one
PHP Code:
$query = "SELECT * FROM ".$prefix."adoptables WHERE id='$id' AND whenisavail = 'promo'";
We just restricted the doadopt.php file to only work with adoptables with promo code.
The code is different in MYS V.1.2.4 which i use see below:
PHP Code:
$query = "SELECT * FROM {$prefix}adoptables WHERE id={$id}";
So Now What Should I Do Here To This Script?