doctorbill
asked on
php and accents
I have the following GET url:
a href="artistinfo.php?artis t=<?php echo $row_thumbs['art_Name']; ?>"
This usually worksd perfectly well but now one of the names has an accented character:
name: Ricardo Galán Urréjola
How can I send this in a GET url (above) so that the url can be used as a search string on the target page and present the correct name with accents
I have tried addslashes etc but no joy
I have tried encoding the characters in the database as: Manuel López Herrera
This is the presented GET url:
artistinfo.php?artist=Rica rdo%20Gal n%20Urr jola (the gaps have a square in them)
a href="artistinfo.php?artis
This usually worksd perfectly well but now one of the names has an accented character:
name: Ricardo Galán Urréjola
How can I send this in a GET url (above) so that the url can be used as a search string on the target page and present the correct name with accents
I have tried addslashes etc but no joy
I have tried encoding the characters in the database as: Manuel López Herrera
This is the presented GET url:
artistinfo.php?artist=Rica
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you need to do a urldecode on the other side
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks very much - working now
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
solved
ASKER
artist=Ricardo+Gal%E1n+Urr
Problem is that it is still not recognised. How can I test what this is actually showing to the target page ?