$query = "SELECT * FROM mytable WHERE id='$id'"; // id keeps changing per day(i want this)$data = mysqli_fetch_assoc($result);
我尝试了很多方法: sleep()、for/while
// changes characters used in html to their equivalents, for example: < to >
// makes sure nobody uses SQL injection
$raw_results = mysqli_query("$con, SELECTOR ... '% $query