This is my code, I would like it so that it only does the first 6 array items. Also, how would I write a loop for everything AFTER the 6 first array items?
while ($servdescarrayrow = mysql_fetch_array("servdescarray")) {
ECHO "<fieldset>Services: ".$servdescarrayrow."</fieldset>";
}
Try the following for your first request:
Then you could do the below for part 2:
Alternatively (and better) is to use
LIMITin your SQL query