johnperkins21,
Sorry for not being prompt in answering you. I do really appreciate your effort in helping me out and yes i did see the your response on another post. That was almost close to what i wanted.
But, i thought perhaps there would be a way that would help me organise my text fields better in the html page. You know, i used the code that TheBentinel.com gave me..and it works fine.
You are right..i tried to see if i could assign the value into my text fields and display them..but it was no success avail at the end.
I still got a question... look at this code:
Code: Select all
<?php
print ('<input type="text" name="call_no" value="' . $myrow[0] . '">');
echo '<br>';
print ('<input type="text" name="title" value="' . $myrow[1] . '">');
echo '<br>';
?>
The above code display two text fields aligned properly....but if i want to [which i have to] insert level infront of the text field like this:
Code: Select all
<?php
print ('Call No<input type="text" name="call_no" value="' . $myrow[0] . '">');
echo '<br>';
print ('Book Title<input type="text" name="title" value="' . $myrow[1] . '">');
echo '<br>';
?>
note levels are - Call No and Book Title...i get my text fields..not aligned properly anymore...
i get one text field.shorter than the other just becoz of the length of the level..Call No is shorter in length than Book Title..and hence the first text field looks shorter than the latter..'
i would appreciate if you can tell me how you align when you code.
Thousands thanks..