I'm stumped. The variable $success keeps returning false. Any ideas?
$query = "INSERT INTO Members SET
contact_name = '$name',
contact_email = '$email',
company = '$company',
contact_relationship = '$relationship',
contact_phone = '$phone',
business_a1 = '$a1',
business_a2 = '$a2',
business_city = '$city',
business_state = '$state',
business_zip = '$zip',
business_url = '$URL',
business_type = '$biztype',
business_description = '$bigdescription',
paypal_email = '$paypalname1',
directory_title = '$listtitle',
directory_description = '$smalldescription',
membership_type = '$memtype',
membership_status = pending_approval ";
$success = mysql_query($query);
All values ($name, $company) etc. hold values. The database is set up with a Members table with these 18 fields and 1 auto incremented ID field. With the exception of the ID field, all fields are have the type 'text'
I thought I new this stuff, but I really can't figure this out. Please help!