Probably a stupid question, but I can't figure it out, I need another person's perspective. Im guessing its wrong quotations or something but the error is;
Parse error: syntax error, unexpected '?' in C:\xampp\htdocs\Joomla-Lifestyle\components\com_jumi\files\medication.php on line 244
Line 244 is;
echo '<input type="radio" name="med" value="med' . $count . '" '<?php if(isset($_POST['view'])) echo checked="checked"; ?>'>' . $MedEntriesName . '<br>';
This line of code is in a loop and I just want to keep the radio button checked when the "View" button is clicked.
Thanks!