On Aug 7, 2007, at 11:46 AM, Daniel Brown wrote:


    As far as I know, J (and I could be wrong on this), this is
actually a problem with PHP5.  Some things that you could try,
however:

    In your php.ini file, set:
        zend.ze1_compatibility_mode = Off

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
[EMAIL PROTECTED]

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

Reply via email to