if ($HTTPS) {header("Location: http://$HTTP_HOST/$PHP_SELF");} include_once "config.php"; $q1 = "select story_id from job_story where status ='2'"; $r1 = mysql_query($q1) or die(mysql_error()); $a1 = mysql_num_rows($r1); if($a1 != '0') { mt_srand((double)microtime() * 1000000); $number = @mt_rand(1, $a1); $a2 = mysql_fetch_array($r2); $st = $a2[0]; } ?>
|
|
||||||||||||||||