Ok I am getting a little lost, but really appreciate everyone's help. Here is some code that may clarify things:
This function updates a spec block for a product. Each product may have a different number of specs, so I am using
$count = mysql_num_rows
in a query to get the number of rows, and then want to execute a loop $count times.
I could just cut and paste the code 50 times and use (if(isset()), but that doesn't seem the most efficient may.
I know I need to run some kind of loop, but not sure how to code exactly. Hope this clarifies and any help is greatly appreciated.