Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Posts
    32

    Question Unanswered: problem list data from text file

    This is contain data in my text file

    #'shoe1'
    name Blue


    #'shoe2'
    name Yellow

    how can i display it again to html just like

    Blue
    Yellow

    then when i clicked the item above i can edit that record

    thanks

  2. #2
    Join Date
    Feb 2004
    Posts
    29
    Code:
    <a href="edit.php?record_id=you want to edit">blue</a>
    you will pass the "record id" variable, on the base of the this identification you will generate query to edit record or as you want.

  3. #3
    Join Date
    Jan 2004
    Location
    India
    Posts
    168
    To get the contents of the file you can use file() and store it into an array.. then You can do what ever you can to with an array..

    Regards
    Rajesh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •