View Single Post
  #1 (permalink)  
Old 06-20-2007, 08:08 AM
not_yoda_yet
Posts: n/a
[SOLVED] PHP syntax question

Hello,
PHP newbie here, and have a question about syntax variations I've noticed. If anybody could explain, and/or point me to a tutorial that explains proper syntax "do's and dont's" I would appreciate it.
On the page at Making a CAPTCHA
I see this code...

<form method="POST">
<img src="captcha.php" />
<br />
Enter the above text EXACTALY as it appears. Note: It is case sensitive<br />
<input type="text" name="captcha_code" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>

I am confused as to why some of the '>' characters are preceeded with a '/' character, but others are not.
In this case, it looks like everything within the FORM tags are "with", but the FORM tags don't have the '/' character.
Thanks in advance.
Melissa

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!