hello guru's
I am not able to insert data in mysql 4.1 by using same php script i used for mysql 3.5 . only id field and date field which are not VARCHAR get inserted but not VARCHAR
PLease help here is my insert statement
function insert_site($id, $first, $last, $email, $address, $city, $state, $zip, $phone, $day, $month, $year, $updat)
{
$conn = db_connect();
// $query = "insert into bday values
$query = "insert into bday (id, first, last, email, address, city, state, zip, phone, day, month, year, updat) values
('$id', '$first', '$last', '$email', '$address', '$city', '$state', '$zip', '$phone', '$day', '$month', '$year', '$updat')";
$result = mysql_query($query) or die(mysql_error()) ;
if (!$result)
return false;
else
return true;
}