Hi all, I am trying to display on my page a name from a MYSQL database where the name is "iain's".
When it stored in the database it is done as "iain\'s" as I have filtered the inputing of the data into the database.
Now I want to display this back on a page as "iain's" without the slash and making sure it is clean data.
How would I go about this is the str_replace the best
ie: <?php echo str_replace("\\", "",$row_rsRecord['name']); ?>
or is there another way?