akx Posted April 26, 2007 Share Posted April 26, 2007 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? Link to comment https://forums.phpfreaks.com/topic/48816-having-some-trouble-could-anybody-please-help-me-out/ Share on other sites More sharing options...
veridicus Posted April 26, 2007 Share Posted April 26, 2007 What the error message? And it would help if you wrap your code in the code tag so it's easier to read. Link to comment https://forums.phpfreaks.com/topic/48816-having-some-trouble-could-anybody-please-help-me-out/#findComment-239257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.