im working on this page where after theregistration page if there is any mistake the
user should go back and make changes in the required fied ......the point is the other fields which have data shud be retained when he come back

im using captcha in the page so

using <a href="javascript:history.go(-1)></a> is bit out of question

any suggestions............

Hi,

You will need to store all the information in session and then when user clicks on back button, populate the fields from session.

Keep a button ("back" or something) and on click of that button, submit the page back to registration page. Then to retain the values, you can put $_POST for all the fields.

hey,
when registration is completed,then put a back button with an id of corresponding userid or name...By using that you can retrieve the information form the database...
Its simple...
Try it...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.