parser prob?
| From: | php at home dot uh dot nu | Date: | Mon, 07 Feb 2000 23:16:18 +0000 |
| Subject: | parser prob? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9924@lists.php.net to get a copy of this message | ||
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.
$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