DeepakJ Posted July 27, 2007 Share Posted July 27, 2007 $query = "INSERT INTO invoiceid(customerid, invoicenum, numoflicenses) VALUES ('$customerid', '$customerinvoice, '$numoflicenses')"; The error message says this is structured wrong. Can someone help me? Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 27, 2007 Share Posted July 27, 2007 Well, do you think you could post the actual error message? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted July 27, 2007 Share Posted July 27, 2007 I'll take a guess that it's because you didn't enclose $customerinvoice in single quotes. Quote Link to comment Share on other sites More sharing options...
DeepakJ Posted July 27, 2007 Author Share Posted July 27, 2007 Haha you are right thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.