Hello List.

In the Alt section of the IMG tag below, the variable $myitem has a value of 
"Who's There".

echo "<div class='myclass'><a href='#' class='color_thumb'> <img 
src='/itemimages/$mypic' alt='$myitem' width='60' ....

When running through W3C validator, the line errors out because of the " ' " in 
I tried:

But this has no affect on "Who's".

What's the best way to code this portion so the apostrophe is handled correctly?



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to