Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP Syntaz error getting on my nerves
Old 04-30-2005, 01:36 PM PHP Syntaz error getting on my nerves
Junior Talker

Posts: 1
Trades: 0
Here is the code:
PHP Code:
$PN1 $_POST["PN1"];
$P1numbers $_POST["P1numbers"];
$PN2 $_POST["PN2"];
$P2numbers $_POST["P2numbers"];
$streetaddress1 $_POST["streetaddress1"];
$streetaddress2 $_POST["streetaddress2"];
$city $_POST["city"];
$zip $_POST["zip"];
$email $_POST["email"]
$childname1 $_POST["childname1"];
$childbirth1 $_POST["childbirth1"];
$childname2 $_POST["childname2"];
$childbirth2 $_POST["childbirth2"];
$C1Choice $_POST["C1Choice"];
$C1Choice2 $_POST["C1Choice2"];
$C2Choice $_POST["C2Choice"];
$C2Choice2 $_POST["C2Choice2"];
$emergencyname $_POST["emergencyname"];
$emergencynumber $_POST["emergencynumber"];
$childpermission $_POST["childpermission"];

$today date("M d, Y");
$recipient "...";
$subject "...";
$forminfo =
"$1st Parent Name: $PN1\n
$1st Parent Number: 
$P1numbers\n
$2nd Parent Name: 
$PN2
$2nd Parent Number: 
$P2numbers\n
$Street Address: $streetaddress1
$Street Address cont: $streetaddress2\n
$City$city\n
$Zip$zip\n
$EMail Address: $email\n

$1st Childs Name: 
$childname1\n
$1st Childs Birth Date: 
$childbirth1\n
$2nd Childs name: 
$childname2\n
$2nd Childs Birth Date: 
$childbirth2\n

$1st Childs Class Choice: 
$C1Choice\n
$1st Childs Second Class Choice: 
$C1Choice2\n
$2nd Childs Class Choice: 
$C2Choice\n
$2nd Childs Second Class Choice: 
$C2Choice2\n

$Emergency Person: $emergencyname\n
$Emergency Phone Number: $emergencynumber\n

$Permission Use of Pictures: $childpermission\n
Form Submitted: 
$today\n\n";


$formsend mail("$recipient""$subject""$forminfo""From: $email\r\nReply-to:$email");
?> 
This is the erorr:
PHP Code:
Parse errorparse errorunexpected T_VARIABLE in /home/theddico/public_html/msannmusic/form-send-sched.php on line 43 
Line 43 is
Code:
$childname1 = $_POST["childname1"];
as seen above.

PLEASE HELP!
theddi is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-30-2005, 01:46 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
You are missing a semicolon on the line right above it:
Code:
$email = $_POST["email"]
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP Syntaz error getting on my nerves
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62379 seconds with 12 queries