I’m not 100% sure if this is a HTML issue or PHP but I’m reading PHP and MySQL Novice to Ninja! I’m on page 119 and am hung up on a bit of code for the form.
<div>
<label for=“joketext”>Type your joke here: </label>
<textarea id=“joketext” name=“joketext” rows=“3” cols=“40”>
</textarea>
</div>
Please elaborate on this bit of code.
I believe the textarea id=“joketext” is part of the associative array.
I believe the textarea name=“joketext” is the post variable.
I’m totally lost as to what the label for=“joketext” is for.