RE: [PHP-DB] mysqli/Statement isn't valid anymore in x.php line #

2004-07-19 Thread Gilmore, Corey (DPC)

> John Holmes wrote:
>
> Gilmore, Corey (DPC) wrote:
> 
> > Is anyone familiar with what would cause an error like this:
> > Warning: Statement isn't valid anymore in includes\import.inc.php on
> > line 810
> 
> 1. Which line is 810? That's going to really help someone determine why 
> you may be getting this warning.

if( !$stmt->bind_param("sssd", $addr->PhoneType, $addr->Phone, $addr->Extension, 
$ContactID ) ) {

> 
> 2. This is a warning, not an error. While annoying, it really can be 
> ignored if the program actually works correctly. The warning can be 
> hidden by using an appropriate error_reporing() level.
> 
Unfortunately it doesn't work, somewhere between my successful call to 
mysqli->prepare() and bind_param my statement object is (apparantly) destroyed, and 
nothing is actually inserted.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] mysqli/Statement isn't valid anymore in x.php line #

2004-07-19 Thread John W. Holmes
Gilmore, Corey (DPC) wrote:
Is anyone familiar with what would cause an error like this:
Warning: Statement isn't valid anymore in includes\import.inc.php on
line 810
1. Which line is 810? That's going to really help someone determine why 
you may be getting this warning.

2. This is a warning, not an error. While annoying, it really can be 
ignored if the program actually works correctly. The warning can be 
hidden by using an appropriate error_reporing() level.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php