Sorry, I don't understand a thing. What do you mean "use midgard person 
with midgard"?! Could you help me with a little piece of code which 
would access the database, for instance? (I'm obviously talking about 
the Midgard context, not generic PHP-MySQL interaction).

Thanks!

Bogdan

pp wrote:

>>By George, he got it! Now, how do I use that from PHP? I guess Midgard 
>>does store that data in a variable somewhere before accessing the 
>>database, right?
>>
>
>The user is stored in array which is created with 
>mgd_get_midgard(); But password is not.
>BTW , I think you should use here You mysql user , not  midgard.
>The user which is defined in conf file is always 
>$midgard->user='0'. It may read database , but that's all.
>For writing , editing , deleting , updateing You have to use 
>midgard person with midgard , or mysql user with PHP.
>
>Piotras
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to