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 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> Newsgroups: php.general
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to