Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_POST['pic_type']) && $_POST['pict_type'] != 0 && $_POST['pict_type'] != 86) {
- $_POST['pic_type'] = mysql_real_escape_string($_POST['pic_type']);
- $result = mysql_query("SELECT parent_product_id FROM affilates WHERE id=".$_POST['pic_type']); //guess
- if (mysql_num_rows($result) == 0) //no parent_product_id assocated to that pic_type
- //doNormalCaptcha
- $row = mysql_fetch_row($result);
- $captchaType = $row[0];
- if($captchaType == 86)
- //doAsirra
- else
- //doNormalCaptcha
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement