Re: running multiple updates on a single line
| From: | Ryan A | Date: | Tue, 04 Jul 2006 13:13:22 +0000 |
| Subject: | Re: running multiple updates on a single line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239117@lists.php.net to get a copy of this message | ||
> >>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 multiple statements that are
> > seperated by a semicolon?
> >
> because it manually splits them on the semicolon and
> runs each one
> trough mysql_query separately.
Aha.... ok, then I guess me running them in a for()
loop is the right way.
Thanks!
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com