Friends i am a newbie in php and trying to learn it more and more…
I am telling you my problem what i am facing
i have a employee signinform which have one username box and one password box with signin button..Now on the action page of this signinform i have given adress of signinvarification form..which matches the entered username and password with the database record.If username and password matches then it shows you have successfully login..otherwise not login…
NOw i have one page in which i have employee pictures..
Now what i want….????
i want that as the employee signin then that login successfully msj does not display and directly the page which have employee pictures displayed..if sign in is successfull(means if password and usermae are matching).
what i can do in this…
i am thinking that on the if condition if username and password matches then after this i have to write the whole code which i have written for employee picture page on the signinvarification form…
is there any possiblitye that simply i give the adress of that employee picture page and as password are matches it directly navigate to that picture page..
plz tell me…I have given u full information which i can give
This is a simple
if/elsestatement task. If username and password matches what is expected (or a row in a database table) then either redirect to your desired page, or include your desired page.