Forum Moderators: open

Message Too Old, No Replies

Where and Order by

Mysql

         

malcolmcroucher

11:01 am on Oct 6, 2008 (gmt 0)

10+ Year Member



Hi ,

Im doing a mysql statement which is the following :

$sql="select * from data WHERE keyword='".$keyword."' ORDER BY id " ;

so for this example i get widget and the id = 1

what im trying to get is all keywords after id 1 or id 10

widget 11
blue widget 12
red widget 13

ect

any suggestions ?

malcolmcroucher

11:25 am on Oct 6, 2008 (gmt 0)

10+ Year Member



dont worry i sorted it out