----- Forwarded message from Vincent QUERU <[EMAIL PROTECTED]> -----
Date: Fri, 11 Aug 2000 10:25:21 +0200 (MEST)
From: Vincent QUERU <[EMAIL PROTECTED]>
Reply-To: Vincent QUERU <[EMAIL PROTECTED]>
Subject: Persistent links
To: [EMAIL PROTECTED]

>> However, I keep getting different values for $global_link which means
>> that mysql opens a persistent link each time the mysql_open() function
>> is executed.

>Is that so? I would have thought that global_link would yield a
>reference object of sorts that uses the persistent connection internal
>to PHP. Different values would in that case not necesarily mean that
>the connection is being reopened.

Yes, you are right, I just read the PHP doc again and it says that if a
persistent link with the same host, user and password is found, pconnect will
not open a new physical link but it will return an identifier that has nothing
to do with the actual link...

I have another question though :
*I want to update a Midgard article content by using a TEXTAREA field from a
HTML form but there appears to be a problem with the update method : when I
submit the form, I get an error from Netscape saying : this document contains no
data. However, the article has been updated correctly.

When I remove the $article->update() line everyting works fine.

Have you ever encountered problem with the update method ?
Does it work correctly with versions more recent thatn 1.4b3 ?
Could using the mgd_update_article function work, could I even update the
midgard database by hand ?

Thanks again !

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to