Re: File Handling
| From: | Miguel Cruz | Date: | Wed, 15 May 2002 20:37:20 +0000 |
| Subject: | Re: File Handling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97810@lists.php.net to get a copy of this message | ||
On Thu, 16 May 2002, karthikeyan wrote:
> Just assume that I have a text file with a separator like "|"
>
> It would be something like this
>
> "ImagePath" | "DialogName" | "Dialog location<path>"
>
> I have to read the text file of above format and display in the html file.
>
> <p><img src ="ImagePath1"> <a href="Dialog location
> path1">DialogName1</a></p>
> <p><img src ="ImagePath2"> <a href="Dialog location
> path2">DialogName2</a></p>
> <p><img src ="ImagePath3"> <a href="Dialog location
> path3">DialogName3</a></p>
http://php.net/fopen
http://php.net/fgets
http://php.net/explode
miguel