For those perl fans out there, preg_match_all adds the g (global) flag to the
expression. So this:
preg_match('/foo/', $str, $match);
would be like
$str =~ /foo/;
preg_match_all('/foo/', $str, $match);
like
$str =~ /foo/g;
- Russ
p.s. - anyone coming from Perl to PHP can get a little hung
Just looking at the error message shows why it's failing in this case: "'t read
card','1099413551')' at line 1" One of the fields you're trying to insert is likely
'Can't read card', and since in the query you are surrounding it with single quotes,
and it's coughing on the word Can't , which has
Actually, an easier tool to use is dos2unix, which is available on most Linux boxes.
Just type dos2unix [filename], and you should be all set.
- Russ Johnson
Sabadell Spain
-Mensaje original-
De: Michael Cortes [mailto:[EMAIL PROTECTED]
Enviado el: Thursday, August 19, 2004 1:36 PM
Para: