I have declared a variable $id which is the ID number of the database row. I have a HTML form. I want the first 3 textfields of the form to display info from row no. 1. then the next textfields must display info from rows 2 to 10.
at the moment my PHP code is like this (connecting to interbase):
<?php
while ($row = i_base_fetch_object ($result)){
echo $row->CLIENT_NAME;
}
i have this code inside the value tag of my first form textfield. it displays the client names over and over.
how can I get textfield no. 1 to not loop and how can i extract info from specific rows for my subsequent textfields please?
ps sorry i m a noob