i got a add from goolge . when i place it at my user side it wrok well , i want that script show on my admin side i want just script code ,
but now whn i fetch adds from data base , there are shown as a add not as a scrpit ..
anu idea .. i am using this in php,
i have come to shoe some htmlentity function is user for ds if i dng this type of coding how a i manage it ..
$show =’
‘.$row[add_code].’
‘;
hoe to use htmlentity function
Instead of htmlentities, which converts all characters that have a matching HTML character entity, using htmlspecialchars should suffice.
htmlspecialcharsonly replaces" ' < > &, so no markup in the string will be interpreted.You just pass it your code and it returns a string with those characters converted.
htmlentitiesworks the same.