I have a question about a mysql query im having trouble with... Is it possible to select from a table for example
SELECT * FROM table_a WHERE timestamp<=timestamp+43200"
What I'm trying to do is check for any rows in a table that are 5 days or less old but I'm not sure if mysql lets you do this.
my actual code is here,
mysql_query("SELECT * FROM friendly_challenges WHERE challenger='$team_a[id]' AND accept='No' AND timestamp<=timestamp+432000");
Anyways, would appreciate any advice. I know a longer way to code around this, I would just like to know if there is syntax to actually do it like this.
Cheers,
Doug