Hello I want to select all the entrees in a MYSQL database if a certain value in a row - another value is greater than a certain number. I want something like this but that actually works, is it possible?
$str = date("d/m/y");
$donetime = strtotime($str);
$currentname = mysql_query("SELECT * FROM `entree` WHERE IF(`Uploaded`-$donetime <= 604800) ");
Is it possible to have something like this? Thanks for your help.