RE: [PHP] Exception Handling

2012-06-01 Thread Mackintosh, Mike
-Original Message- From: James Colannino [mailto:crankycycl...@gmail.com] Sent: Friday, June 01, 2012 10:25 AM To: PHP-General List Subject: [PHP] Exception Handling Hey guys, Haven't posted in a long time... Happy Memorial Day! I have an issue with exception handling. I'm using a

RE: [PHP] Exception Handling

2012-06-01 Thread Mackintosh, Mike
-Original Message- From: James Colannino [mailto:crankycycl...@gmail.com] Sent: Friday, June 01, 2012 11:14 AM To: PHP-General List Subject: Re: [PHP] Exception Handling Hey Mike, Thanks for the reply! I saw this comment in the documentation

[PHP] Dynamically Populating Multi-Dimensional Arrays

2012-05-31 Thread Mackintosh, Mike
Hi All, I was working on a project and needed to dynamically populate a multi-dimensional array based on the size of an array. The script does exactly what I want it to do, but I can't imagine that it's done in the best way. I used an eval to construct the array based on the number of values

RE: [PHP] passing /n into query ERROR

2012-05-31 Thread Mackintosh, Mike
-Original Message- From: Don Wieland [mailto:d...@pointmade.net] Sent: Thursday, May 31, 2012 12:46 PM To: php-general@lists.php.net Subject: [PHP] passing /n into query ERROR I have a query below. When I try to run it with PHP it errors: DATABASE_ERROR: You have an error in your SQL

RE: [PHP] [foreach] - is it proper to...

2012-05-31 Thread Mackintosh, Mike
-Original Message- From: Tedd Sperling [mailto:t...@sperling.com] Sent: Thursday, May 31, 2012 1:01 PM To: php-general General Cc: Tristan Subject: Re: [PHP] [foreach] - is it proper to... On May 31, 2012, at 12:48 PM, Tristan wrote: I'm using Zend Studio and it had a suggestion that I