Easy, you put a ';' were a ']' should be hehe. *Fires up Dreamweaver and finds line 85 (As the error states 'unexpected ';', expecting ']' ... on line 85').*
Line 85:
PHP Code:
$C19 = $_POST ['C19';
Should be
PHP Code:
$C19 = $_POST ['C19'];
So the code should be:
PHP Code:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Job Application Script</title> </head> <body> <?php $ip = $_POST['ip']; $httpref = $_POST['httpref']; $httpagent = $_POST['httpagent']; $visitormail = $_POST['visitormail']; $T3 = $_POST ['T3']; $T2 = $_POST ['T2']; $T4 = $_POST ['T4']; $T6 = $_POST ['T6']; $T7 = $_POST ['T7']; $T8 = $_POST ['T8']; $T9 = $_POST ['T9']; $T10 = $_POST ['T10']; $T11 = $_POST ['T11']; $T12 = $_POST ['T12']; $T13 = $_POST ['T13']; $T14 = $_POST ['T14']; $T15 = $_POST ['T15']; $T16 = $_POST ['T16']; $T17 = $_POST ['T17']; $T18 = $_POST ['T18']; $T19 = $_POST ['T19']; $T20 = $_POST ['T20']; $T21 = $_POST ['T21']; $T22 = $_POST ['T22']; $T23 = $_POST ['T23']; $T24 = $_POST ['T24']; $T25 = $_POST ['T25']; $T26 = $_POST ['T26']; $T27 = $_POST ['T27']; $T28 = $_POST ['T28']; $T29 = $_POST ['T29']; $T30 = $_POST ['T30']; $T31 = $_POST ['T31']; $T32 = $_POST ['T32']; $T33 = $_POST ['T33']; $T34 = $_POST ['T34']; $T35 = $_POST ['T36']; $T36 = $_POST ['T36']; $T37 = $_POST ['T37']; $T38 = $_POST ['T38']; $T39 = $_POST ['T39']; $T40 = $_POST ['T40']; $T41 = $_POST ['T41']; $T42 = $_POST ['T42']; $T43 = $_POST ['T43']; $T44 = $_POST ['T44']; $T45 = $_POST ['T45']; $T46 = $_POST ['T46']; $T47 = $_POST ['T47']; $T48 = $_POST ['T48']; $T49 = $_POST ['T49']; $T50 = $_POST ['T50']; $T51 = $_POST ['T51']; $T52 = $_POST ['T52']; $T53 = $_POST ['T53']; $T54 = $_POST ['T54']; $T55 = $_POST ['T55']; $C1 = $_POST ['C1']; $C2 = $_POST ['C2']; $C3 = $_POST ['C3']; $C4 = $_POST ['C4']; $C5 = $_POST ['C5']; $C6 = $_POST ['C6']; $C7 = $_POST ['C7']; $C8 = $_POST ['C8']; $C9 = $_POST ['C9']; $C10 = $_POST ['C10']; $C11 = $_POST ['C11']; $C12 = $_POST ['C12']; $C13 = $_POST ['C13']; $C14 = $_POST ['C14']; $C15 = $_POST ['C15']; $C16 = $_POST ['C16']; $C17 = $_POST ['C17']; $C18 = $_POST ['C18']; $C19 = $_POST ['C19']; $S1 = $_POST ['S1']; $S2 = $_POST ['S2']; $S3 = $_POST ['S3']; $D3 = $_POST ['D3']; $D4 = $_POST ['D4']; $D5 = $_POST ['D5']; $D1 = $_POST ['D1']; $D2 = $_POST ['D2']; $year = $_POST ['year']; $time = $_POST ['time']; $D9 = $_POST ['D9']; $D11 = $_POST ['D11']; $day = $_POST ['day']; $D6 = $_POST ['D6']; $D7 = $_POST ['D7']; $D8 = $_POST ['D8']; $todayis = date("l, F j, Y, g:i a") ; $subject = "Online Job Applications Submission"; $message = "Submitted $todayis [CST] \n Attention: Human Resources \n From: $visitormail \n \n Last Name : $T3 \n First Name : $T2 \n Middle : $T4 \n \n Date application filled out : $D3 $D4 $D5 \n \n Address : $T6 \n Address : $T7 \n \n City : $T11 \n State : $T8 \n Zip : $T9 \n \n Social Security Number : $T12 \n \n Position(s) applied for : $T14 \n \n How did you hear about us : $C1$C2$C3 \n \n Best time to contact : $time \n \n If under 18 can provide proof of eligibility for employment : $C4$C5 \n \n Has filled out application before : $C6$C7 \n \n Date applied (if applied before) : $T16 \n \n Any friends, relatives or spouse working here? : $C8$C9 \n \n Whom (if friends, relatives or spouse working here) : $T17 \n \n Currently employed : $C10$C11 \n \n May contact present employer: $C12$C13 \n \n Are prevented from being employed by VISA or immigration status?: $C14$C15 \n \n Are available full time: $C16$C17 \n \n Date available for employment : $D1 $D2 $year \n \n Education \n High School : $T18 \n Address : $T19 \n Years completed : $T20 \n Diploma/Degree? : $T21 \n \n College: $T22 \n Address: $T23 \n Years completed : $T24 \n Diploma/Degree? : $T25 \n \n Technical/Trade : $T26 \n Address : $T27 \n Years completed : $T28 \n Diploma/Degree? : $T29 \n \n \n Employment History (most recent first) \n Employer : $T30 \n Address : $T31 \n Telphone : $T32 \nonline_app.html Supervisor : $T33 \n Dates : $T34 \n Position : $T35 \n Salary : $T36 \n Reason Left : $T37 \n \n Employer : $T38 \n Address : $T39 \n Telphone : $T40 \n Supervisor : $T41 \n Dates : $T42 \n Position : $T43 \n Salary : $T44 \n Reason Left : $T45 \n \n Employer : $T46 \n Address : $T47 \n Telphone : $T48 \n Supervisor : $T49 \n Dates : $T50 \n Position : $T51 \n Salary : $T52 \n Reason Left : $T53 \n \n \n Academic Honors and Achievements : $S1 \n \n Career Skills and Certifications : $S2 \n \n \n Transportation limitations : $C18$C19 \n Explain : $T54 \n \n Felony in last 5 years : $C20$C21 \n Explain : $T55 \n \n \n Other information : $S3 \n \n Dated on disclaimer : $D6 $D7 $D8 \n \n \n Additional Info : IP = $ip \n Browser Info: $httpagent \n Referral : $httpref \n ";
mail("rmsapp@tekonehosting.com", $subject, $message, $from); ?> <p align="center"> The following has been submitted <br /> Date: <?php echo $todayis ?> <br /> Thank You : <?php echo $T2 ?> <?php echo $T3 ?> <br /> Your application as seen by recipient : <?php echo $message ?> <br /> <?php echo $ip ?> <br /><br /> Thank you for using the RMS Job Application Demo <br /><br /> </a> </p> </body> </html>
__________________
My Blog/Site: Please login or register to view this content. Registration is FREE
Last edited by rogem002; 09-04-2007 at 11:15 AM..
|