RE: RE: [PHP] write to multiple sql tables

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
You can't do it through PHP. ';' - won't work Maxim Maletsky www.PHPBeginner.com -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: giovedì 4 ottobre 2001 6.24 To: Maxim Maletsky (PHPBeginner.com) Cc: 'sc'; [EMAIL PROTECTED] S

Re: RE: [PHP] write to multiple sql tables

2001-10-03 Thread Frank M. Kromann
Some databsaes allows batches of sql statements. Thes can be passed to the db server in one query and the statements are usally separated by ; If you are executing a batch of statements each returning a result you will have to process each result in your code. This is supported by ODBC, MS SQL

RE: [PHP] write to multiple sql tables

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
PHP can only handle a query at a time. If the database in question allows you to construct a such query where you can write to multiple files then you can. Go to the manual of your DB and look for the answer there. For instance; look at the syntax of INSERT. Maxim Maletsky www.PHPBeginner.com