jini01 Posted February 19, 2007 Share Posted February 19, 2007 The error Im getting: Parse error: parse error, unexpected '[', expecting ',' or ';' in /home/pricetak/public_html/editxmlmap.php on line 86 ?> <option value=<? echo line['id]; ?> <?php if (!(strcmp(line['id'], $editrow['DTID']))) {echo "SELECTED";} ?>><? echo line['name']; ?></option> <? Link to comment https://forums.phpfreaks.com/topic/39185-solved-please-help-me-with-my-parse-error-thanks/ Share on other sites More sharing options...
tom100 Posted February 19, 2007 Share Posted February 19, 2007 2 questions 1) Is that line 86? 2) is line['id'] a constant or did you forget to put a $ in front of both of those variables? Link to comment https://forums.phpfreaks.com/topic/39185-solved-please-help-me-with-my-parse-error-thanks/#findComment-188718 Share on other sites More sharing options...
jini01 Posted February 19, 2007 Author Share Posted February 19, 2007 Im soooooo STUPID. It was the "$" sign. thanks bud!!!! Link to comment https://forums.phpfreaks.com/topic/39185-solved-please-help-me-with-my-parse-error-thanks/#findComment-188722 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.