I am relatively new to PHP/MySQL developing. I started with PHP a month ago, but did not really learn much. I know basic PHP, etc., and a little bit of MySQL.. I am having trouble with something.. Here is the script that I am using. Basically, it is a registration form, but all registrations will be emailed to me..
<html>
<head>
<?php
$mine="ekbscs@gmail.com"
$msg="$new\n" . "Name: $name\n" . "Email: $email\n" . "PayPal Email: $pp\n" . "MSN: $msn\n" . "AIM: $aim\n" . "YIM: $yim\n" . "ICQ: $icq\n";
$new="A new NetBuxPLUS member has registered. Their information is below."
$name="$_POST['name']";
$email="$_POST['email']";
$pp="$_POST['paypalemail']";
$msn="$_POST['msn']";
$aim="$_POST['aim']";
$yim="$_POST['yim']";
$icq="$_POST['icq']";
$sub="New NetBuxPLUS Member!"
mail($mine, $sub, $msg, "From: $name <$email>");
?>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
}
a:hover {
color: #000000;
}
.style6 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: x-small;
}
.style7 {color: #000000}
-->
</style>
<meta name="keywords" content="netbux, make money, money, cash, bling, netbux ref, refferals, netbucks,
paid to surf, money online, cash, free money, free cash, search, find" />
</head>
<body>
<center>
<body bgcolor="white">
<img src="banner.bmp">
</center>
<table width="350" border="0" align="center" cellpadding="3" bgcolor="#EFEFEF" style="border-top: solid 1px #DEDEDE; border-bottom: solid 1px #DEDEDE; border-left: solid 1px #DEDEDE; border-right: solid 1px #DEDEDE">
<tr>
<td>
Thank you for registering with NetBuxPLUS! Within the next few hours, one of our representatives will be personally emailing
you, informing you of what happens from this point on. If you have an questions, concerns, suggestions, etc., about NetBuxPLUS, feel free to
contact us via one of the ways listed within your welcoming email!
</td>
</tr>
</table>
<table width="350" border="0" align="center" cellpadding="3" bgcolor="#EFEFEF" style="border-top: solid 1px #DEDEDE; border-bottom: solid 1px #DEDEDE; border-left: solid 1px #DEDEDE; border-right: solid 1px #DEDEDE">
<tr>
<td>
<p><font size="2">
<font face="verdana">
<td align="center">
NetBuxPLUS is an affiliate of O-H-S
</td>
</tr>
</table>
</html>
</head>
When I fill out the registration form (www.o-h-s.com/register.php), and it takes me to the success.php (the code is above!), it gives me this error:
Parse error: parse error, unexpected T_VARIABLE in /home/ohsco/public_html/success.php on line 5
This has really been bugging me.
AIM: ekbscs
MSN: michael@visualgfx.net
YIM: VisualGFX
ICQ: 284107938
Thanks,