Re: Re: upgrading from 4.03 to 4.06

From: Date: Mon, 13 Aug 2001 03:00:28 +0000
Subject: Re: Re: upgrading from 4.03 to 4.06
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-62364@lists.php.net to get a copy of this message
Ok this is my error line...once again when I used 4.03 this script is already run...but got problem when i upgrade itu to 4.06 $db="database"; $connectid=mysql_connect(bla,bluh,foo); mysql_db_query($db,"UPDATE profile SET FullName='$FullName',Gender='$Gender',Birthday='$Birthday',". "Address='$Address',HomePhone='$HomePhone',CelPhone='$CelPhone'". " WHERE id=$profile->id",$connectid); ----- Original Message ----- From: Richard Lynch <ceo@l-i-e.com> To: <php-general@lists.php.net> Sent: Monday, August 13, 2001 4:46 AM Subject: [PHP] Re: upgrading from 4.03 to 4.06 > 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#62364) next »