Help on session.
Posted: Thu Oct 09, 2008 8:12 pm
Hi friends i am new to php. I found this site and though u guys may help me.
I have a testimonial page where registered users can add a testimonial.
The Problem:
I can add the contents to the testimonial but i want users to edit the testimonial that were added by them in the future. How to do this, i know we have to use Session but i am not at all understanding. Can anybody explain with a code
This is how the testimonial looks like (here user raghu is seeing the page)
Title: asdasdasd
Content: dasdgasdgsdg
By: Ravi
Title: asdasdasdsadas1232
Content: dasdgasdgsdgsdf25252
By: Raghu
[Edit] [Delete]
Title: asdasdasd
Content: dasdgasdgsdg
By: Ravi
I have a testimonial page where registered users can add a testimonial.
The Problem:
I can add the contents to the testimonial but i want users to edit the testimonial that were added by them in the future. How to do this, i know we have to use Session but i am not at all understanding. Can anybody explain with a code
This is how the testimonial looks like (here user raghu is seeing the page)
Title: asdasdasd
Content: dasdgasdgsdg
By: Ravi
Title: asdasdasdsadas1232
Content: dasdgasdgsdgsdf25252
By: Raghu
[Edit] [Delete]
Title: asdasdasd
Content: dasdgasdgsdg
By: Ravi