No, you would only see orders from 7 days prior to the current date. You would need an OR statement in the query to select records for 14, 21, 28 days prior etc:
$result = mysql_query("SELECT id, datetime, value FROM orders WHERE DATE_SUB(CURDATE(),INTERVAL 7 DAY) = DATE(FROM_UNIXTIME(datetime)) OR DATE_SUB(CURDATE(),INTERVAL 14 DAY) = DATE(FROM_UNIXTIME(datetime))");
That said, the above query can be modified to use most (if not all) of all the date/time functions in MySQL - clicky.