am trying to fetch some data from a form, but i cant for some reason. here are some lines of my code.
cellphone: <input type = "text" name = "cellphone"><br />
username : <input type = "text" name = "username"><br />
$cellphone = $_GET["cellphone"];
//$cellphone = int() $cellphone;
$username= $_GET["username"];
$link = mysql_connect('myhost', 'myuser', 'mypass') or die("could not connect to database");
mysql_select_db ('hunter',$link) or die ("could not find database");
echo "fetced database";
//injecting user info into database
mysql_query("INSERT INTO player values ('','$firstname','$lastname','$location','$cellphone','$username','$email','$password')")or die("could not inject into database.");
but i can not get the cell number to get into my database for some reason. please help me :D