When I copy a domain name from Google Maps and then paste it into a form I built, it enters it into a MySQL database with ‎
appended at the end of the domain name.
Any idea how I could strip that ‎
off of the domain name?
The relevant code is below
<div class="friend5title"><label for="url">Website:</label></div>
<div class="friend5field"><input name="website" type="text" id="website" maxlength="150"></div>
$website = mysql_real_escape_string($website);
mysql_query("INSERT INTO submission VALUES ('$website')");