Hi,
I've been having problems encoding / decoding data, and can't seem to
figure out where I am going wrong.
I extract data from a mysql table with a line like:
$object_name[$a] = stripslashes(ht mlspecialchars( $row['object_name'],
ENT_QUOTES));
so an entry called, say, '"Y" axis' becomes '"Y" ; axis'
OK so far...but when I use the line below to decode:
echo html_entity_dec ode($object_nam e[$z], ENT_QUOTES);
it stills reads it out as : '"Y" ; axis'
What point am I missing here ?
Thanks
SS.
I've been having problems encoding / decoding data, and can't seem to
figure out where I am going wrong.
I extract data from a mysql table with a line like:
$object_name[$a] = stripslashes(ht mlspecialchars( $row['object_name'],
ENT_QUOTES));
so an entry called, say, '"Y" axis' becomes '"Y" ; axis'
OK so far...but when I use the line below to decode:
echo html_entity_dec ode($object_nam e[$z], ENT_QUOTES);
it stills reads it out as : '"Y" ; axis'
What point am I missing here ?
Thanks
SS.
Comment