From a standpoint of using XHTML 1.0 Strict as DOCTYPE -- would the input tag in XHTML be considered tabular data?
And if not, could someone please give me some good advise on valid XHTML (Strict 1.0) code that I could use in combination with MySQL and PHP? What I need to do is have an input field to the right of another input field (BUT, the right input field is not always in need of being printed on the page), so currently I've only been able to come up with this:
<table>
<tr>
<td><input type="text" value="First column"></td>
<td>...</td>
<td>...</td>
</tr>
<?php if(!empty($column2)){ echo '<tr><td><input type="text" value="Second column"></td></tr>'; } ?>
</table>
So, any other ideas? I'm thankful for any suggestions you may have!
EDIT I should also mention, that I need to have captions above each column (not each input field, but let's say each tr, looking from my example).