Re: [PHP] contant /

2010-04-08 Thread John Black
On 04/08/2010 06:51 PM, Andre Polykanine wrote: > 2. (Just a suggestion) It's better to put the SQL tables and > fields between grave accents (backquotes). But if you do that then you will have to remove them again when you decide to switch or support PostgreSQL. -- John After coming into cont

Re: [PHP] contant /

2010-04-08 Thread Andre Polykanine
Hello Jack, I have tons of errors like this and now I'm eliminating them, so I'll tell what to do: 1. Put apostrophes (single quotes) around the array item: $auth['company_name'] instead of $auth[company_name]; 2. (Just a suggestion) It's better to put the SQL tables and fields between grave accen

Re: [PHP] contant /

2010-04-08 Thread Ashley Sheridan
On Thu, 2010-04-08 at 12:26 -0400, Jack wrote: > I get a couple of errors like this one for undefined variable: > > PHP Notice: Undefined variable: s_company_name > > And this one for undefined contstant > > PHP Notice: Use of undefined constant account_type - assumed 'account_type' > > >

Re: [PHP] contant /

2010-04-08 Thread Dan Joseph
On Thu, Apr 8, 2010 at 12:26 PM, Jack wrote: > I get a couple of errors like this one for undefined variable: > > PHP Notice: Undefined variable: s_company_name > > And this one for undefined contstant > > PHP Notice: Use of undefined constant account_type - assumed > 'account_type' > f_put_co