I'm having a problem with an update script. I have many users stored in my DB, but i need a way for them to edit the entires. I think my problems are with sessions, I'm not real sure how to use them....I've looked at php.net and such but those are somewhat hard to read for a beginer. Can anyone help, i'm pretty much at the begining with this project.
Get, "Teach yourself PHP4 in 24 hours," published by, "SAMS," author = Zandstra.
Seriously. I'm not being flippant. If you are serious about php, then you can set aside 24 hours to learn it.
your question is kinda vague. i can recommend three things:
1: check to make sure register_globals is turned off (you can do this easily by just sticking <CODE>set_ini('register_globals','Off');</CODE> in the front of your script.
make sure that you actually have values in your session. you can check by doing <CODE> echo '<PRE>'; print_r($_SESSION); echo '<PRE>'; </CODE>
as a general rule, when you start something, it's a bit overwhelming. if you don't understand a manual entry, just read it again and again until you do. it will get better with time.
bah. just echo < PRE > tags around the print_r() function, otherwise it won't look very nice.
looks like i need to read the manual entry for "How to Post on Forums," eh?
if you need more help, feel free to email me.