Re: Why do I always come up with the hard stuff?
| From: | Jason Pruim | Date: | Tue, 07 Aug 2007 17:44:26 +0000 |
| Subject: | Re: Why do I always come up with the hard stuff? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260294@lists.php.net to get a copy of this message | ||
On Aug 7, 2007, at 11:46 AM, Daniel Brown wrote:
Hey Dan, That did the trick on the connection problem, now I can connect! :) But in true fashion, one bug fix leads to another bug... while($row = mysqli_query($link, "SELECT * FROM current WHERE record='$Record'")) { [Tue Aug 7 13:38:49 2007] [error] PHP Warning: mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli in /Volumes/RAIDer/webserver/Documents/tests/legion/edit.php on line 12 I have tried all kinds of combinations to use that to display a single record from the database. Nothing is working. I could do this easily with the regular mysql... But I want to use a prepared statement for inserting into the database, and my understanding is I can't use prepared statements in the old mysql... Is that the case? Anyone have any ideas? I'm drawing a blank... Even having issues with the stuff copied off the php website not working right.... -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.comAs far as I know, J (and I could be wrong on this), this isactually a problem with PHP5. Some things that you could try, however:In your php.ini file, set: zend.ze1_compatibility_mode = Off