Jump to content

On same page


manalnor

Recommended Posts

Hello friends,

 

If i've

 

$pass = "12345"; // in database or whaever

 

the form code

 

 

<form method="post" name="name" id="id" action="post">Password <input type="password" name="password"><input type="hidden" name="Submit"/>

 

 

i wanna say on same if

 

 

if post password == $passecho "good";} else {echo "bad";}

 

 

how then it be on same page ? and if post ( how to write it )

 

thanks alot that would help me so much in php

Link to comment
https://forums.phpfreaks.com/topic/214527-on-same-page/
Share on other sites

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.