Put an @ infront of your comand

Andy


"Val Petruchek" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
000801c1ae32$6fc1e360$[EMAIL PROTECTED]">news:000801c1ae32$6fc1e360$[EMAIL PROTECTED]...
> Hello!
>
> a have following mysql problem:
> i need to execute several inserts at one query like this->
>
> $sql->action("insert into words(word) values ('php');
> insert into words(word) values ('general');
> insert into words(word) values ('list');");
>
> The word fild is unique
>
> My problem is: when certain word (e.g. 'php') already exists in table
words
> all the query fails
>
> I do not want to check every word on existance and then insert only "new"
> words.
>
> I want mysql to ignore fails. How can i do it?
>
> Thanx
>
> Valentin Petruchek (aki Zliy Pes)
> http://zliypes.com.ua
> mailto:[EMAIL PROTECTED]
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to