|
-
Nov 3rd, 2006, 07:36 AM
#1
Thread Starter
Member
Is this wrong???
Here is the code that I used and found not working.
$t=time();
$t-=84600;
$q="select * from flash where time>=".$t." order by time desc limit 10";
$result=mysql_query($q);
whts wrong with it???
The query returns all the rows in the table irrespective of the constraint.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|