Jump to content

[SOLVED] unsure what to call this question, it is php related tho!


stelthius

Recommended Posts

Basicly, i have a login form, with the login process done on the same page, now, my forgot password i want to have that code in login.php also, but only be called when i click the forgot password button and then it will change the table to the forgot password table with the email input area & send button... so say for instance i name the button login.php?=op=doforgotpass how would i start off my forgot password code so the button can call it, my explanations are pretty Shi**y so im sorry if its a bad en lol

i dont fully understand what you mean here mate but from what i can see maybe this could be a solution

 

 

if ($_GET['op'] == 'doforgotpass') {


YOUR 'FORGOT PASSWORD' CODE HERE

}

 

then when the url login?op is equal to 'doforgotpass'

 

the code will be displayed :).

 

James.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.