RE: [PHP-DB] mysql errors .... or php errors ????

2001-06-29 Thread Steve Brett
the code wasn't mine. it was a drop in message board. Steve > -Original Message- > From: Jason k Larson [mailto:[EMAIL PROTECTED]] > Sent: 28 June 2001 11:12 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] mysql errors or php errors > > >

Re: [PHP-DB] mysql errors .... or php errors ????

2001-06-29 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Steve Brett) wrote: > 'invalid index test assumed 'test' in test.php at line 13' can't > remember the exact syntax but that's the general idea. > > if i quote the var when i reference it the error goes away. like > $arow['test'] as opposed

Re: [PHP-DB] mysql errors .... or php errors ????

2001-06-28 Thread Jason k Larson
Another thought came to mind. These errors could be the result of verbose error reporting by PHP. php.ini or a script could be setting error reporting high enough to display these errors, however it's extremely poor PHP coding syntax to not correctly quote everything (except constants, of course)

Re: [PHP-DB] mysql errors .... or php errors ????

2001-06-28 Thread Jason k Larson
This isn't a mySQL error. PHP is complaining about the quoting of variables. Check for magic_quotes or the like in your php.ini file -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the