Jump to content

Character appearing before £ sign in db


webref.eu

Recommended Posts

Can someone explain this please: 

 

I have a password field in my form: 

 

<input type="text" name="txtPassword" size="10">

 

Which gets collected as follows: 

 

$Password=$_POST['txtPassword'];

 

and then inserted into MySQL. 

 

If I input the following: 

 

testtest£

 

It appears in the database as:

 

testtest£

 

Why is this happening?  :o

 

 

Many thanks all. 

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.