toplisek
11-04-2005, 10:33 AM
I have the following country in List box:
Cote d'lovire
How to put in List box because there is ' :)
Cote d'lovire
How to put in List box because there is ' :)
|
Click to See Complete Forum and Search --> : Country has character: ' How to put in code? Simple help toplisek 11-04-2005, 10:33 AM I have the following country in List box: Cote d'lovire How to put in List box because there is ' :) Wart_Hog 11-04-2005, 10:38 AM If you need to print it: <?php print '<select>Cote d\'lovire</select>'; ?> -Mike PanK 11-04-2005, 10:46 AM also if you are retrieving info from DB or name from variable you can try: str_replace("'", "`", $countryName) it will replace ' with `. toplisek 11-05-2005, 02:15 AM Thanks it works webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |