Q:

MySQL row selection

I have a table as below,
 ID     Name       Age
 ----------------------
  100       A         10
  203       B         20

Now how do i select only row1 using MySQL SELECT command and then I've to increase +1 to it to select row2. In short I'll be using for loop to do certain operations.
Thanks.

A:

Sounds like you've got a mix up. You want to select all the rows you want to iterate through in your for loop with your query, and then iterate through them one by one using php's mysql functions like mysql_fetch_row

