$result3=mssql_query($query3) or die ("The query has failed");

<snip>

http://dev.mysql.com/doc/refman/5.0/en/insert-select.html

Ah - the OP isn't using mysql, it's ms-sql.



Oups didn't notice that :-) .

--
Thodoris

Reply via email to