|  | Posted by Konan on 06/05/05 05:34 
Pardon the simple question, but I have just begun to learn PHP.  So far sogood - all the examples in my books actually work.
 
 One thing that none of them address is how to read a file of strings (like
 names or URLs or whatever) into something so that they can be deleted,
 modified or a new one added.  In a language like Perl/TK or Delphi a
 listbox is used if you want to edit line by line or a memo box if you want
 to edit like you are in Kwrite.
 
 All the examples assume that I want to enter data into a Text area or
 Listbox by keyboard, then read it back in.  Never the other way around.  I
 can use a Fget routine and read the file to the screen, but not to
 anything in which I can edit yet.
 
 So far I have learned a ton of stuff trying, but haven't made it work yet.
 
 Should I be reading the data into a Textarea, a Listbox or something else?
 
 Anybody got a short example.
 
 Thanks
 Konan
  Navigation: [Reply to this message] |