Thanks matto for you help.
It helped me solve that problem. The funny part is now I get a different error "Parse error: parse error, unexpected T_STRING" which I CAN'T find on the site you provided.
I'm attaching the code in case you can possibly take a moment to let me know what may be wrong.
Thanks again.
<?php
if (!$fname || !$lname || !$address || !$city)
{
echo "You have not entered all the required information. <br /> Please go back and try again.";
exit;
}
$db_addr = "localhost";
$db_user = "login";
$db_pass = "password";
$db_name = "mride";
$db_table = "customer";
mysql_pconnect($db_addr,$db_user,$db_pass) or die ('cannot connect to database');
mysql_select_db($db_name) or die ('cannot select database');
$results = mysql_query("INSERT INTO $db_table (fname,lname,address,city) VALUES ('$fname','$lname','$address','$city')");
if($results)
{
echo "Information Entered";
}
else
{
echo "There was a problem.";
}
?>