yaygames
-
Posts
6 -
Joined
-
Last visited
Never
Posts posted by yaygames
-
-
[!--quoteo(post=377702:date=May 27 2006, 09:02 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ May 27 2006, 09:02 PM) [snapback]377702[/snapback][/div][div class=\'quotemain\'][!--quotec--]
So ... what's the problem (specifically) and show us much much much more code than a few lines of html and some variables you renamed. How about showing lines 70-90 of your script. If what you show us isn't the real script let us know so we don't tell you how to fix things that only look wrong.
[/quote]
Sorry about that [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]. Here are the 100 lines of code surrounding the if statement:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] <div align="center">
<p><font color="#FFFFFF">Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text </font></p>
<p align="center"><font color="#FFFFFF"><em>Thanks,<br>
The Game Infantry Team </em></font></p>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="800" height="100" align="center" background="../bottom.jpg">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="800" height="100">
<tr>
<td width="800" height="50">
<p align="center"><font face="Arial" size="1"><a href="URL">HOME</a>
| <a href="http://gameinfantry.50webs.com/about.htm">ABOUT</a> | <a href="URL">JOIN</a> | <a href="http://gameinfantry.50webs.com/team.htm">THE
INFANTRY TEAM</a> | <a href="http://gameinfantry.50webs.com/submit.htm">SUBMIT</a> | <a href="URL">FORUM</a>
| <a href="URL">CONTACT</a></font></td>
</tr>
<tr>
<td width="800" height="50">
<p align="center"><font face="Arial" size="1">© 2006 Game
Infantry</font></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<?
$adminaddress = "email address protected";
$design_manager = "email address protected";
$advertising_manager = "email address protected";
$zip = $_POST['zip']
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]if ($position == "Designer") {[!--colorc--][/span][!--/colorc--]
mail("$adminaddress","$name Would Like to Join the Designing Team!",
"$Name would like to join the $position team at Game Infantry
First Name: $name
Last Name: $last
Email: $email
Position: $position , (If Other): $other
State: $state
City: $city
Address: $address
Zip Code: $zip
Nickname (if any): $nickname
Date of Birth: $month $day, $year
$Name commented:
------------------------------
$comments");
mail("$design_manager","$name Would Like to Join the Designing Team!",
"-----------This Email Has Been Forwarded To You, Please Do Not Reply-----------
$Name would like to join the $position team at Game Infantry
First Name: $name
Last Name: $last
Email: $email
Position: $position , (If Other): $other
State: $state
City: $city
Address: $address
Zip Code: $zip
Nickname (if any): $nickname
Date of Birth: $month $day, $year
$name commented:
------------------------------
$comments");
}
else if ($position == "Advertiser") {
mail("$advertising_manager","$name Would Like to Join the Advertising Team!",
"-----------This Email Has Been Forwarded To You, Please Do Not Reply-----------
$Name would like to join the $position team at Game Infantry
First Name: $name
Last Name: $last
Email: $email
Position: $position , (If Other): $other
State: $state
City: $city
Address: $address
Zip Code: $zip
Nickname (if any): $nickname
Date of Birth: $month $day, $year
$Name commented:
------------------------------
$comments"); [/quote]
Thanks a lot,
YayGames -
Hey. The variable names were just replacements for other names that contained personal info. They actually don't have any numbers in them ;-).
Thanks,
YayGames -
[img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /] Help!! [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]
-
Here's the 15 lines of code before the if statement:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]</center>
</div>
</body>
</html>
<?
$1 = "email address protected";
$2 = "email address protected";
$3 = "email address protected";
$4 = $_POST['zip'][/quote]
Some of it is HTML, does that make a difference?
Thanks,
YayGames -
I keep getting the following error when testing my form:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Parse error: parse error, unexpected T_IF in sitename.com/join.php on line 88[/quote]
Yes, there is an If statement on line 88, and it looks like this:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]if($position == "Designer"){[/quote]
But that has no error in it, I don't think....
Please help!!!
Thanks,
YayGames
Keep Getting Parse Error! [Newbie HELP!]
in PHP Coding Help
Posted