Thread: PHP script help
View Single Post
Old 2005-02-24, 10:34 AM   #1
Ramster
Life is good
 
Ramster's Avatar
 
Join Date: Apr 2003
Location: Ottawa, Canada
Posts: 11,867
Send a message via ICQ to Ramster Send a message via AIM to Ramster
PHP script help

A friend of mine needs help with a PHP script. Maybe someone could help me fix this for him.

Here's the problem:
Trying to have some control over who signs on

Typical Signon MEMBER (form), then list members name/address etc.
The second PHP does not work...
<?include("DB_Connect.php");
$result = mysql_query("Select * FROM members where Lastname = 'HLName' and Firstname = 'HFName' ");
print ('Personal Information'); ... blah blah

He then says:
Seems no matter what I put in HLNAME line it ends up with a not found condition or PHP syntax error.
So looking for a way to pass the variable LastName to the next PHP document or SQL
I've turned on register_global but it only seems to be for the one screen and does not get set on the next screen.

Anyone?

Thanks
__________________
Pornstar Legends | Live Cam Model Shows | Hungarian Girls
Skype: robmurray999
Ramster is offline   Reply With Quote