Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: besserer20050808.php3

Message # 1031870:
Date: 11/14/05 06:45
By: ntokozo
Subject: TextAreaProblem

This is my code but I have as problem on inserting data int the MySQL table and my problem is a Textarea it does not work.

Here is my code.Please Help.



$username = "root";
$password = "password";
$hostname = "localhost";
$myconn = mysql_connect($hostname,$username,$password)or die("Unable to connect to MySQL");
$take = mysql_select_db("information",$myconn)or die("Could not select information");
$name=$_POST['name'];
$surname=$_POST['surname'];
$tellnumber=$_POST['telnumber'];
$cellnumber=$_POST['cellnumber'];
$dob=$_POST['idno'];


mysql_query("insert into login values('$name','$surname','$dob','$tellnumber','$cellnumber',)");
or die("Unable to insert a record");
mysql_close($myconn);

?>
</body>

</html>

Previous Message | Next Message


Comments:
TextAreaProblemntokozo 11/14/05 06:45
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.