upgrading from 4.03 to 4.06
| From: | Yamin Prabudy | Date: | Sat, 11 Aug 2001 03:57:50 +0000 |
| Subject: | upgrading from 4.03 to 4.06 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62243@lists.php.net to get a copy of this message | ||
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 --enable-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