[eluser]filip_de_backer[/eluser]
Hi,
This is the code:
$adres = $list['l_adres'] . " " . $list['l_postcode'] . " " . $list['l_gemeente'];
$list[''] --> this is a column from teh database.
But in the l_adres, there is the character '
When I use the $adres in a html control, the data gets lost because of:
echo "<input id='adresHidden' name='adresHidden' type='hidden' value='" . $adres . "'/>";
How can I convert it to another character?
Is there a CI helper methode that converts special characters to html codes?
thanks,
Filip