this is my code:
<?php
if(isset($_POST['sub']))
{
$sql=("insert into info_user(u_fname, u_lname, u_pass, u_number, u_email)values('".($_POST['fname'])."','".($_POST['lname'])."','".($_POST['pass'])."','".($_POST['phone'])."','".($_POST['email'])."')");
mysql_query($sql, $link);
echo
"you are registered successfully"
"<a href="?action=login">'Login'<a/>";
}
?>
I have problem with this one : echo "'Login'" there is a php page which contain nothing but some includes and the page with codes above is included. now i want to redirect user to login page, but i don't want to mention a new link.
is there a way to do so?