select by range
Posted: Wed Mar 03, 2004 2:00 pm
Lets say i have a database with about 100 differant items.
How would i go about on doing this..
Does this make any sence?
How would i go about on doing this..
Code: Select all
//db connecting and all that
$result = mysql_query("SELECT first 10 items FROM items");
// some table..
echo "0>10 items";
$result = mysql_query("SELECT 10>20 items FROM items");
// second table
"10>20 items";
// 3th
ect.....