I need to add values in MySQL
and see if its greater than another value then echo
the amount of rows.
$result = mysql_query("SELECT created_at,seconds FROM table WHERE created_at + seconds > CURTIME()");
$num_rows = mysql_num_rows($result);
echo $num_rows;
Aucun commentaire:
Enregistrer un commentaire