furrls Posted December 8, 2010 Share Posted December 8, 2010 echo '<input type="radio" name="answers['.$data['question_id'].']" value='<?php print $A;?><?PHP echo $answerA; ?>><?PHP echo $A; ?>>'<br/>'; anyone tell me what is syntax error in this line of code? Parse error: syntax error, unexpected '?' Link to comment https://forums.phpfreaks.com/topic/221026-syntax-error/ Share on other sites More sharing options...
Pikachu2000 Posted December 8, 2010 Share Posted December 8, 2010 Since you're already echoing, you're already in <?php tags, so you don't need to reopen them. Link to comment https://forums.phpfreaks.com/topic/221026-syntax-error/#findComment-1144454 Share on other sites More sharing options...
PFMaBiSmAd Posted December 8, 2010 Share Posted December 8, 2010 This is code you are using in your existing problem/thread. It is not a new topic just because you are getting a syntax error with it. Stick to a single thread for the same problem. Link to comment https://forums.phpfreaks.com/topic/221026-syntax-error/#findComment-1144461 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.