I am trying to output the results from a field that is read from mysql.
the field has this in it.
< ? echo "yes"; ? >
however when i try to print the field… it is null.
do i have to escape it on output?
i dont want to execute the code.. i want to output what is in the field as text
You have to escape with htmlspecialchars()