php sccript to display content on browser
| From: | Nitin Ambekar | Date: | Tue, 22 Apr 2003 04:45:41 +0000 |
| Subject: | php sccript to display content on browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144760@lists.php.net to get a copy of this message | ||
hi nicos,
could i expect help put php script for following condition. i have a asp script which i have to change to php. there are date function to add date etc but how to use strtotime() of php or is there u suggest any other logic for below task.
i have a text file called top10song.txt which has a content in the following format:
</Date:16/4/2003>
<None><1><jina o tere lie><7><16>
<None><2><ishq kamina><6><18>
.
.
.
<Date|>
<|Date:15/4/2003>
<None><1><o hamdam suniyo re><6><7>
<None><2><chhalakA-chhalakA re><5><7>
.
.
.
<Date|>
rqiurement is the page on browser should show suppose
Date:2003 April 16 Prev.Rank curr. Rank Song Title Users/Songs none 1 jina o tere liye 7/16 none 2 ishq kamina 6/18. . and if the previous button on browser is pressed it should show the 15th content in the above format. there are buttons named next and previous diplayed on the browser with the table. i have a asp code but i have to change it to php. in anticipation nitin