Witam podczas rejestracjinie chce mie przenies na nastepną strone (IMG:
http://forum.php.pl/style_emoticons/default/sad.gif) nie wiem co jest grane prosze o pomoc
<?php
include("includes/header.php");
include("includes/common.php");
include("includes/register_header.php");
include("includes/messages.php");
{
}
{
}
{
}
{
}
{
}
{
}
// Code for entering values into database
if($Submit == "Submit")
{
$last_name = str_replace("'","''",$last_name);
$last_name = str_replace("","\",$last_name);
$email = str_replace("'","''",$email);
$email = str_replace("","\",$email);
$password = str_replace("'","''",$password);
$password = str_replace("","\",$password);
$st = "select * from StatMember where username = '$username";
$rs = mysql_query($st) or die(mysql_error());
$numrows = mysql_num_rows($rs);
if($numrows > 0)
{
$msg = $M_UsernamePresent;
}
else
{
$session_first_name = $first_name;
$session_last_name = $last_name;
$session_email = $email;
$session_username = $username;
$session_password = $password;
$session_packageType = $package_type;
$registration_status = "registered";
}
}
// Code for entering values into database
?>
Kawałek kodu do rejestracji