I pretty new to php, I started using it yesterday: It has taken me like 20 hours to make one form with alot of help from friends. I've finally got it work and want to clean it up a bit.
Here is what I'm trying to do. If you hit submit without filling in one of the textboxs on the form a * will pop up next to that textbox.
<td align="right" valign="top" class="style5">City</td>
<td><input name="City" type="text" size="70" value="<?= $_POST['City'] ?>" class="textboxstyle" />
<? if($missing && $_POST['City'] == '') print "*" ?></td>
</tr>
I'm trying to have the * pull its style from a style sheet, right now it is just a plain old black * and I want to make it fit in with the other text on my site. I can't seem to figure it out and I'm not really sure what to search for.
If anyone can help with this I'd very much appreciate it.