put mysql into debug mode and tail the mysql.log - see what is getting 
sent through.

It looks a bit like a magic_quotes oddity.. - either that or the 
templating engine is replacing something it shouldnt...(unlikely)

are you using mmp - if so you should be able to see the 'cached templates'

pp wrote:

>>Hello,
>>
> 
>
>>I tried to use the php functions mysql_* under midgard, and stumbled across
>>the following problem: if I try to "UPDATE" a table (not midgard-db, own user 
>database)
>>using a "WHERE id=xx", all rows are updated. If I cut&paste the exact same code
>>into a normal php script (not using midgard), it works (meaning, only the row with 
>id=xx is 
>>updated).
>>
>>However, "SELECT"s do work properly under midgard. 
>>
>
>I use php-mysql functions in midgard and never have met
>that issue. Would you confirm that this is not Your script fault?
>Before update try to output with echo $id. 
>
>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