How do i store data from three textboxs, as one field?
e.g.
If textbox 1 contains "one", textbox 2 contains "two", and textbox 3 contains "three", then the field should contain "onetwothree".
<?php
$sql="INSERT INTO Person (Firstname, Lastname, Sex)
VALUES
('$_POST[Firstname]','$_POST[Lastname]','$_POST[Sex]')";
if (!mysql_query($sql,$con))
{
die(mysql_error());
}
echo $_POST[Name] . "'s Record Added Successfully!";
mysql_close($con)
?>