try this to test:
if($smsmobnum != '') {
$qry = "SELECT * FROM tbl_name WHERE var='$var' and var2='$var2' and var3='0'";
$result = mysql_query($qry);
if(mysql_num_rows($result) > 0) {
while($row_data = mysql_fetch_array($result)){
$mobnumid = $row['id'];
echo 'use this: ' . $mobnumid;
//header( "Location: resend.php?activate=$mobnumid");
//exit();
}
}
}
diafol
Keep Smiling
10,653 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,510
Skill Endorsements: 57
Question Answered as of 4 Months Ago by
diafol