Jump to content

Having some trouble could anybody please help me out


akx

Recommended Posts

I'm having some trouble with a crm php script it worked perfect until one day it just stopped working the error it's happening in the fallowing code:

 

$dats=date('m-d-Y');

$q=mysql_query("insert into customers (account_type,company_name,first_name,last_name,sv_address,sv_city,sv_state,sv_zip,sh_address,sh_city,sh_state,sh_zip,username,password,phone,e_mail,where_hear,date_sign,ssn)

                                    VALUES ('$_POST[account_type]','$_POST[company_name]','$_POST[first_name]','$_POST[last_name]','$_POST[sv_address]','$_POST[sv_city]','$_POST[sv_state]','$_POST[sv_zip]','$_POST[sh_address]','$_POST[sh_city]','$_POST[sh_state]','$_POST[sh_zip]','$_POST[username]','$_POST[password]','$_POST[phone]','$_POST[e_mail]','$_POST[where_hear]','$dats','$_POST[ssn]')") or die(mysql_error());

 

$id=mysql_insert_id();

 

any ideas?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.