Friends I'm new to PHP + sql help me here:
--
-- Estrutura da tabela 'verified_user'
--
CREATE TABLE IF NOT EXISTS 'verified_user' (
'id' int(11) NOT NULL AUTO_INCREMENT,
'email' text NOT NULL,
'password' text NOT NULL,
PRIMARY KEY ('id')
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
-- --------------------------------------------------------
--
-- Estrutura da tabela 'verify'
--
CREATE TABLE IF NOT EXISTS 'verify' (
'id' int(11) NOT NULL AUTO_INCREMENT,
'email' text NOT NULL,
'password' text NOT NULL,
'code' text NOT NULL,
PRIMARY KEY ('id')
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;
The above Table I am making the call below to try to get the code registered code
corresponding, validate, once validated redirect the user to another page index2.php , how can I do this in a simple way in php ? Help me if you can.
<form method="post" action="verification.php">
<input type="text" name="email">
<input type="password" name="code">
<input type="submit" name="register" Value="Register">
</form>