Re: Re: What is my Mistake?
| From: | Ethan Rosenberg, PhD | Date: | Tue, 24 Jun 2014 16:27:24 +0000 |
| Subject: | Re: Re: What is my Mistake? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48885@lists.php.net to get a copy of this message | ||
On 06/24/2014 09:39 AM, Jim Giner wrote:
Attachment: [application/x-httpd-php] TestPhone.php
Ethan - You say your script stops here : echo 'here3'; To be sure, you mean that the script DOES echo out 'here3' or does NOT get there? I'm going to guess that it does get to that echo statement but the very next one is going to kill you because you cannot echo out a resource. ONCE AGAIN - do you have php error checking turned on as you've been told many many times? Jim -Thanks. ini_set('display_errors', 'on'); ini_set('display_startup_errors', 'on'); error_reporting(-2); ini_set('error_reporting', 'E_ALL | E_STRICT'); ini_set('html_errors', 'On'); ini_set('log_errors', 'On'); from the program. here3 is never echoed. The same code in a free standing program [attached] works beautifully. TIA Ethan
Attachment: [application/x-httpd-php] TestPhone.php