|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
transferring the control in while loop
Hello,
I am trying to update and also print all the records from my table.Now, I'm confused in placing my while loop with in my code.could some body tell me where exactly i've to place that. Herez my code.... <?php $sql = update statement; $result = ibase_query($connection, $sql); $db = select statement; $abc = ibase_query($connection, $db); while ($row = ibase_fetch_object($abc)) { $text1=$row->TBL_FIELD1; $text2=$row->TBL_FIELD2; }---->>I placed here, so i'm only to veiw one record.I placed at the end of my form, but, it also prints each time the headers. ?> Here is my field headings... And here, <td width="156" height="23" align="left" valign="top"> <p style="line-height:100%; margin-top:0; margin-bottom:0;"><FONT face=Verdana><SPAN style="FONT-SIZE: 10pt"><INPUT name=text1 value = "<? echo $text1; ?>"style="padding:0;"></SPAN></FONT></p></td> and so on ...as i've so many fields. I want the heading to be printed only once and all the records from my table. could somebody please help me. thank you |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > transferring the control in while loop |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|