Hi Jeffy,
You are trying to insert into field [fax_info.id] a NULL value in the
Form-action script.
According to the Table structure of fax_info
that you have given, the field [fax_info.id] contains a NOT_NULL Auto_increment constraint with Default value as '0'
ie:
CREATE TABLE fax_info (
id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,.....
If this is the case
Modify your insert statement to :
INSERT INTO $table (s_id, date, fax_count, coupon_sent, fax_returned, double_checked)
VALUES('$id','$date_sent','$fax_count','$coupon_sent','$fax_returned','$double_checked')";
What you were doing was trying to insert a NULL value in a NOT NULL field. If a NOT NULL field contains a DEFAULT constraint then don't have to include it in your insert statement if you want it to take a default value.
Did this help ?...... tell me.