I am new to this forum and am going through Kevin Yank's "PHP and MySQL: Novice to Ninja". If there is a forum dedicated to that book, let me know and I will post there. Anyway, on page 182, I came across this code:
<?php htmlout($joke['text']); ?>
<input type="hidden" name="id" value="<?php echo $joke['id]; ?>">
Why did the author use the htmlout() function to print out $joke['text'] but just used echo to print the $joke['id']? whats the difference? If I should post this in a different forum, let me know.