forms - Small error within my PHP that I can't find. Unexpected T_VARIABLE -


i trying parse form current syntax , pretty sure correct part. keep getting error: parse error: syntax error, unexpected t_variable in /home/pftech/public_html/wp-content/themes/pureflo/formhandler.php on line 13. lost here on might , why causing whole form fail. please assistance matter appreciated. lost right now. thanks!

<?php /**  * template name: form handler  */ ?>    <?php     if(isset($_get['zip'])){         $sandiego = array('91911', '91914', '91915', '91932', '91942', '91945', '91950', '92014', '92025', '92027', '92029', '92037', '92064', '92065', '92067', '92071', '92075', '92101', '92102', '92103', '92104', '92105', '92106', '92107', '92108', '92109', '92110', '92111', '92113', '92114', '92115', '92116', '92117', '92118', '92119', '92120', '92121', '92122', '92123', '92124', '92126', '92127', '92128', '92129', '92130', '92131', '92132', '92134', '92135', '92139', '92140', '92145', '92147', '92154', '92173', '92562', '92563', '92590', '92591', '92592', '92596');       if (in_array($_get['zip'], $sandiego)){           $urls = array();             if($_get["office"] == 1) {                  $urls[] = "http://50.22.79.62/~pftech/office-delivery/"                 $urls[] = "http://50.22.79.62/~pftech/office-delivery/"                 $urls[] = "http://50.22.79.62/~pftech/office-delivery/"             } else {                 $urls[] = "http://50.22.79.62/~pftech/water-delivery-service/"                 $urls[] = "http://50.22.79.62/~pftech/coffee-delivery/"                 $urls[] = "http://50.22.79.62/~pftech/water-filtration-systems/"             }             if($_get['selection'] < 3 && $_get['selection'] >= 0) {                 $url = $urls[$_get['selection']];                 header("location: $url?zip=$_get[zip]");             } else header("location: http://50.22.79.62/~pftech/nationwide/");          } else {             header("location: http://50.22.79.62/~pftech/nationwide/");         }     }     exit; 

you have no ; delimiter after every row


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -