note 7596 deleted from mysql_query by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:34:43 +0000 |
| Subject: | note 7596 deleted from mysql_query by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1717@lists.php.net to get a copy of this message | ||
i have this following command. My problem is that in one server it works. However, in another server
it is not working. Meaning to say it is returning a false value.
$sql = "INSERT DELAYED INTO Company
(CoName,UserID,passWord,SignUpDate,Address1,Howto,Industry,Profile,Email,URL,ContactPerson,Designation,VoiceNum,FaxNum,CountryCode,AreaName)
VALUES
('$CoName','$UserID','$CryptPassword','$SignUpDate','$Address1','$Howto','$Industry','$Profile','$Email','$URL','$ContactPerson','$Designation','$VoiceNum','$FaxNum','$Jobs_Country','$Jobs_Area')";
if(!$result = mysql_query($sql)){
DisplayErrMsg("Error on INSERT, RECORD NOT ADD");}
else{
printf("<body onload="javascript:window.alert('Successful Corporate
Sign-up');self.location.href='http://%s/%s/menu1.php3'; ">",
$HTTP_Host, $docRoot);
}