0

Q: I hope you might be able to help me I think mysql is not quit right but I am not sure what is not right. Except my site is not working.

What happen is i can register, that works.
I can log in to create a memorial and it shows as logged in, (Shows, TO LOGOUT member)

but wont bring up the page form to create the a memorial page.

It should go through the following part of the login.php and open a page place_memorial.php

but it drops to the bottom of the login.php page and shows you are logged in login changed to logoutetc the script is

if (mysql_num_rows($result)==1) { 

setcookie("logged",true,time()+259200); 

setcookie("username",$_POST["username"],time()+259200); 

$_COOKIE["logged"]=true; 

$_COOKIE["username"]=$_POST["username"]; 

$_SESSION["logged"]=true; 

$_SESSION["username"]=$_POST["username"]; 

mysql_free_result($result); 

mysql_close(); 

header("Location: place_memorial.php"); 

}

Hope you can help me out

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by R0bb0b
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.