Dear Sir,
Whenever I login into my account in thescripts.com and logout from it, I can see in URL my id is always 32573. When I visit control panel and wants to change something, I can see the in URL that there is a file called 'profile.php' which contains all the coding about 'Edit password', 'edit profile', 'edit avtar' etc.. And the URL is coming like this
'..../profile.php?do= editpassword'. It shows that there is a variable 'do' in 'profile.php' in which all the values are passing.
I am trying to build same kind of thing. But I don't know how to do it. As per my knowledge in PHP, I will create separate page for each link (i.e., editpassword.ph p, editprofile.php , editavtar.php etc.) and I don't want to do that, I want a page like 'profile.php' which contains all the coding so that I can make my work easier.
Can you please help me with this? How can I do this?
I don't know how to pass values hyperlink variables and how to revtrieve values from hyperlinks variables.
Thanks
Deepak
Whenever I login into my account in thescripts.com and logout from it, I can see in URL my id is always 32573. When I visit control panel and wants to change something, I can see the in URL that there is a file called 'profile.php' which contains all the coding about 'Edit password', 'edit profile', 'edit avtar' etc.. And the URL is coming like this
'..../profile.php?do= editpassword'. It shows that there is a variable 'do' in 'profile.php' in which all the values are passing.
I am trying to build same kind of thing. But I don't know how to do it. As per my knowledge in PHP, I will create separate page for each link (i.e., editpassword.ph p, editprofile.php , editavtar.php etc.) and I don't want to do that, I want a page like 'profile.php' which contains all the coding so that I can make my work easier.
Can you please help me with this? How can I do this?
I don't know how to pass values hyperlink variables and how to revtrieve values from hyperlinks variables.
Thanks
Deepak
Comment