although the data is placed in the database i am getting the following error:
Warning: MySQL: Unable to save result set in
/www/mydomain.com/cardsdb/enter_card.php on line 35
since the data is stored in the db is it possible that this is more of an issue with my client's mysql installation than the php script that is sending the query? I have never had a failure using this before.
this is the insertion code:
$con = @mysql_connect("$host","$user","$pass");
if(!$con)
{
$connect_error = "Failed at mysql_connect";
}
$query="INSERT INTO $table VALUES ('$id', '$type', '$music', '$text_color', '$back_color', '$page_color', '$border_color', '$card_font', '$the_title', '$pic', '$message', '$sig', '$sender','$notify' ,'$sender_email', '$recip_string')";
$result= @mysql_db_query("$db", $query);
if(!$result)
{
$query_error = "Failed at the mysql_db_query";
}
if($result)
{
//send the card
}
Thanks,
Julian