|
Hi,
I'm sure it is not my scripts fault. As I stated before,
in normal php it works
fine.
I already tried to put mysql in log mode. The update
queries seemed ok.
---- Original Message
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] > |
- [midgard-user] Midgard & php4-MySQL Martin Hochstra�er
- Re: [midgard-user] Midgard & php4-MySQL pp
- Re: [midgard-user] Midgard & php4-MySQL Alan Knowles
- [midgard-user] Midgard-lite performance update... Alan Knowles
- Re: [midgard-user] Midgard-lite performanc... Steven J. Sobol
- Martin Hochstra�er
