Posted by Schraalhans Keukenmeester on 04/25/07 08:29
programming wrote:
> Hey all i am trying to write data that i have stored in a session back
> to a member.txt, but i am unable to work out why it wont write. It
> displays the data i have stored in the session ok, but it wont do the
> next step! I have used a similiar script in another part of my web
> page which works, but this one won't. From my understanding it has
> something to do with if statement if($data[0] == $user_id), so i might
> be trying to compare the previouis data to the current data stored in
> the txt file properly. Any ideas?
>
> Cheers,
>
> Peri.
>
>
Repeating the question till you get an answer YOU like? ;-)
Why not use a db for this? So much easier.
Sh.
[Back to original message]
|