Hello. I have this error.

Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /home/russia5/public_html/month_conversion.php on line 9

Code:

<?php
//DB CONNECTION GOES HERE
 
$lookup = array("January" => ‘01′, "February" => ‘02′, "March" => ‘03′, "April" => ‘04′, "May" => ‘05′, "June" => ‘06′, "July" => ‘07′, "August" => ‘08′, "September" => ‘09′, "October" => ‘10′, "November" => ‘11′, "December" => ‘12′);
// use month names on your form
$month = $_POST["age_mth"]; // the name
$monthnum = $lookup[$month]; // the number
$query = "INSERT INTO subdomain_submission (age_month) VALUES (’.$monthnum.’);"
 
print "month = $month";
print "monthnum = $monthnum";

?>
 
LINE 10 IS WHERE $lookup is at.  So line 9 is blank.
 
Thanks to all who consider my problem



Go Daddy  $6.95 .com sale 468x60