Posted by Jerry Stuckle on 04/11/07 12:57
programming wrote:
> how do i delete from a text file 1 of the following lines:
>
>
> jon|scott
> adam|smith <--delete
> paul|clark
>
> say i would like to delete the middle line of this txt, in member.txt
> what php code or logic would help me accomplish this?
>
> Also i am clicking on a hyperlink that is keeping count of the entries
> i have
> made. e.g php?record_id =1
> php?record_id =2
>
Or, better yet, learn to use a SQL database.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|