Re: [PHP4BETA] parser prob?
| From: | Zeev Suraski | Date: | Mon, 07 Feb 2000 23:35:03 +0000 |
| Subject: | Re: [PHP4BETA] parser prob? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9925@lists.php.net to get a copy of this message | ||
This is most probably an error reporting issue (most probably being an understatement). Make sure you have error_reporting set to E_ALL, or at least include E_PARSE.
Note that if you have a legacy php.ini file, with error_reporting=n where n is a number, the numbers have changed since PHP 3.0. Use constants instead (you'd have to use the latest CVS for constants support in the php.ini file).
At 01:16 08/02/2000 , php@home.uh.nu wrote:
Howdy, I think I may have found a problem. I was running one of my scripts and was getting a "page contatined no data" error, when it turned out that I had an error in the syntax of one of my statements. I was pulling out the values from the $results array below. If you noticed the missing ] char from the $kid_person_id = ... line. I would expect to get a "syntax error" from php, instead of nothing back from it.-- Zeev Suraski <zeev@zend.com> http://www.zend.com/$nrows = OCIFetchStatement($stmt, $results); $result = 0; if ($nrows > 0) { /* ok we found a record. This is a referral's first time fund. Email em! */ /* and then set the flag so we don't find them again here *//* ok set the flag that this person has been emailed */ $kid_person_id = $results["KID_PERSON_ID"[0];...}... This code is inside a class that I have defined and was calling. It took me a while to find the problem w/o the error from php. I know I know, I should type better but.... Walt -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net