anuj_web
New Member
- Messages
- 145
- Reaction score
- 0
- Points
- 0
Hi
In my website , I have a login page after logging in the user goes to his profile...where he can change his details and then he is redirected to the same page with the changed details....
I am thinking of using an html page to show the profile details at first then direct it to a php file to use the update code to update accordingly
then again after this updation, redirect back to the html file with the updated data...
I actually want two pages so that i dont have to use the whole php and html code in the same page and mess up the code...
I need some suggestions to do this in a better way(if possible) or any modifications in this
method...
The html page has embedded PHP code to only generate the page and fetch the records..
and the php page has code to update the records....
In my website , I have a login page after logging in the user goes to his profile...where he can change his details and then he is redirected to the same page with the changed details....
I am thinking of using an html page to show the profile details at first then direct it to a php file to use the update code to update accordingly
then again after this updation, redirect back to the html file with the updated data...
I actually want two pages so that i dont have to use the whole php and html code in the same page and mess up the code...
I need some suggestions to do this in a better way(if possible) or any modifications in this
method...
The html page has embedded PHP code to only generate the page and fetch the records..
and the php page has code to update the records....
Last edited: