Re: upgrading from 4.03 to 4.06

From: Date: Sun, 12 Aug 2001 21:46:50 +0000
Subject: Re: upgrading from 4.03 to 4.06
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62342@lists.php.net to get a copy of this message
You'd have to show us every line that mentioned $connectionid for us to figure out where it disappeared... -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Yamin Prabudy <yamin@pro.net.id> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Friday, August 10, 2001 10:57 PM Subject: upgrading from 4.03 to 4.06 Hi there recently I had upgrade my php from as you see in the subject and I have a problem raise after I do some upgrading.... my php script already run OK when I used the previous version after I do the upgrading a lot of error raise here is how I configure /configure --with-mysql=/usr/local --with-apxs=/usr/local/apache/bin/apxs -- enable-memory-limit --enable-ucd-snmp-hack --with-snmp=/usr/local/snmpd --en able-discard-path --enable-force-cgi-redirect --enable-trans-sid the problem is like this.... on the beginning of the script i declare $connectid=mysql_connect(bla,bla,bla); and at the end (still the same page) I used this mysql_db_query($db,"query",$connectid); <------ here is the error come up seems like the $connectid variable that I declare in previous didn't parse till the end.... then I put the $connectid=mysql_connect(bla,bla,bla); before the query then everything is OK...... can any body point me out where did I go wrong...I'm sure my script is OK..it's run in version 4.03 but got error in 4.06 Thanks in Advance Yamin Prabudy

« previous php.general (#62342) next »