Alright let me tell you what im trying to do first: Trying to make it so that when i login to my website, i have an option of pming people in my clan. That works fine. When i click it it gives me a page looking like this:
<HEAD> <style>
A:link {text-decoration: none; color: #B8CFE9;}
A:visited {text-decoration: none; color: #B8CFE9;}
A:active {text-decoration: none; color: #B8CFE9;}
A:hover {text-decoration: none; color: #B8CFE9;}
</style>
</HEAD>
<body bgcolor="#4C6076">
<center>
<form method=POST action="pm.php">
<textarea name="pm" cols="50" rows="5">
</textarea><br>
Trip1<input name="Trip1" type="Checkbox">
ThE_DeaD<input name="ThE_DeaD" type="Checkbox">
gLiTcH<input name="gLiTcH" type="Checkbox">
Dragon<input name="Dragon" type="Checkbox">
Urban<input name="Urban" type="Checkbox">
Kamakazi<input name="Kamakazi" type="Checkbox">
Spongebob<input name="Spongebob" type="Checkbox">
Slinkston<input name="Slinkston" type="Checkbox">
Evixion<input name="Evixion" type="Checkbox">
Blaze<input name="Blaze" type="Checkbox">
Tears<input name="Tears" type="Checkbox">
Cryptor<input name="Cryptor" type="Checkbox">
Calyx<input name="Calyx" type="Checkbox">
Ziggo<input name="Ziggo" type="Checkbox">
Spork<input name="Spork" type="Checkbox"><br>
<input type=SUBMIT>
which is good. now when i fill in the textbox area, and select the recipients i get the ole error😛arse error: parse error in /usr/local/psa/home/vhosts/ps2cw.com/httpdocs/ea/pm.php on line 5
and the code for the pm.php would be:
<?php
if ($Trip1 =="on")
{
fp$ = fopen("trip1pm.txt", "w");
fwrite($fp, $pm);
echo ("Private message delivered to Trip1");
}
It goes on for each member, however i just posted it for Trip1 so that i dont make a huge ass post. If anyone can help it would be greatly appreciated, thanks in advance