Hi everyone....can't seem to figure this one out. I don't see what is wrong with line 220....I've tried removing the spaces thereby running everything together, tried removing some of the spaces (i.e. the space between "2011" and <?php) among various other combinations of spacing, still get these errors.....don't see any unclosed/unresolved ending tags.....
220 attributes construct error [XHTML 1.0 Strict]
220 Couldn't find end of Start Tag option line 220 [XHTML 1.0 Strict]
220 Opening and Ending tag mismatch: select line 218 and option [XHTML 1.0 Strict]
222 Opening and Ending tag mismatch: div line 216 and select [XHTML 1.0 Strict]
Here is the code:
216 <div class="content_onecolumn">
217 <label for="report_year" class="long"><span style="font-weight:bold">1.</span> Report for Year:</label>
218 <select name="report_year" id="report_year" class="selectTwo">
219 <option value="" selected="selected">*Select the Year*</option>
220 <option value="2011" <?php if($_POST['report_year'] == 2011) echo 'selected';?>>2011</option>
221 </select>
222 </div>
Any ideas? Thanks - Steve
Any ideas?