Re: [PHP] running multiple updates on a single line

2006-07-07 Thread Richard Lynch
On Mon, July 3, 2006 8:29 pm, Ryan A wrote: > in phpmyadmin, in the SQL part where you can write a > query if I have a double update such as this: > > it works without a problem as I am ending each sql > statement with a simicolon, but in my scripts when I > try to run multiple updates in a single

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread M. Sokolewicz
Ryan A wrote: --- Chris <[EMAIL PROTECTED]> wrote: Ryan A wrote: Hi, in phpmyadmin, in the SQL part where you can write a query if I have a double update such as this: it works without a problem as I am ending each sql statement with a simicolon, but in my scripts when I try to ru

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread Ryan A
> >>RTFM :) -- mysql_query() > > > > > > Ok, read it, again what am I missing? > > I took out the semicolon from the end... then I > get an > > error. > > I did find one user post saying that this runs > just > > one query at a time...but if thats the case how is > > PHPMyAdmin running multi

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread Ryan A
--- Chris <[EMAIL PROTECTED]> wrote: > Ryan A wrote: > > Hi, > > in phpmyadmin, in the SQL part where you can write > a > > query if I have a double update such as this: > > > > > > it works without a problem as I am ending each sql > > statement with a simicolon, but in my scripts when > I >

Re: [PHP] running multiple updates on a single line

2006-07-03 Thread Chris
Ryan A wrote: Hi, in phpmyadmin, in the SQL part where you can write a query if I have a double update such as this: it works without a problem as I am ending each sql statement with a simicolon, but in my scripts when I try to run multiple updates in a single line eg: $xyz="update xyz set i