> 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]
