Jump to content

special characters


RichardRotterdam

Recommended Posts

Hi,

 

I have a prob which pretty much makes me wanna bang my head agains the desk. But here is the problem

 

in the URL is pass a variable m%c3%bcnchen for example

http://localhost/page.php?city=m%c3%bcnchen

 

now i want the querry do a select query as followed

SELECT * FROM cities where city_name="münchen"

when i do this

 

<?php
echo($_GET['city'])
?>

it displays münchen and also in the source

 

any suggestions and yeah i know using city id should be the way but i cant do that

 

Link to comment
https://forums.phpfreaks.com/topic/88867-special-characters/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.