0

I created a profile where,after registration and login in
Someone can view his dteails.
How can I do so that,he/she will be able to edit/update that same profile,
after login in.
i use "User" and password in login in.
Help please!!!

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by mrcniceguy
0

do you use a database or file?
when having a db:

"UPDATE `profile` SET `hobbies`='coolstuff'  WHERE `user`=".$user

with a file you can do it the same way as createing it:

$f=fopen("...","w");
fwrite("hobbies:coolstuff\n");
fclose($f);

if you still have probs then post that little piece of code.

Edited by mike_2000_17: Fixed formatting

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.