Posts: 636
Threads: 112
Joined: Nov 2009
Reputation:
0
How can i for example store first 10 results then from 11 to 20, 21 to 30 is it possible?
Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
store them in a var,
mysql_query then
var = mysql_fetch_int
mysql_store_result
mysql_free.
Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
well what do you need? there are alot more natives S:
mysql_fetch_int( [connectionHandle = 1] )
mysql_fetch_field_row( string[], const fieldname[] [,connectionHandle = 1] )
mysql_fetch_float( &Float:result [,connectionHandle = 1] )
mysql_fetch_row_format( string[], const delimiter[] = "|" [,connectionHandle = 1] )
explain more..
Posts: 636
Threads: 112
Joined: Nov 2009
Reputation:
0
I need to fetch first 0-10 results, 11-20, 21-30 etc..
So i can make pages for a book .. etc..
Posts: 203
Threads: 11
Joined: Jan 2010
Reputation:
0
query = "SELECT * FROM table WHERE bla='bla' LIMIT 10, 20"
This one worked for me in php, may work in samp too.