I have created web pages using PHP3 which display details of members of staff
stored on a LDAP database dependent upon data input.
The pages work fine if I input/extract the information using input type = text, but some of these members of staff have several entries in some of the fields (eg PCs), thus only the first item is displayed, although all the records are extracted.
I have tried using textarea to be able to display all the data available, but this results in the scrolling text box being displayed with no data inside.
How do I get PHP to display this information.
My code for tying to display the Pc information is
<strong>PC</strong><textarea rows = "3" name = "PC" size = "10"
value = "<?php echo $pc?>" </textarea>
I later want to be able to process any changes in this box and update the database record. Do I need to treat the data in any special way?
Thanks
Tony