Re: Why do I always come up with the hard stuff?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
japruim@xxxxxxxxxx

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux