Hi All,

        I'm getting the following error:

        [Tue Nov  4 10:01:53 2003] [error] PHP Warning:  split() [<a
href='http://www.php.net/function.split'>function.split</a>]: REG_EMPTY in
/usr/local/apache/htdocs-chm/import_data.php on line 26

        Here is the code in question:

                $line = fgets( $file );

                echo $line . "<br>";

                list (  $ACTION_DESCR,
                                $LOAN_NUMBER,
                                $BORROWER,
                                $CO_BORROWER,
                                $ADDRESS,
                                $CITY,
                                $STATE,
                                $ZIP,
                                $ABANUM,
                                $BANKACCTTYPE,
                                $BANKACCTNUM,
                                $ADD_PRINCIPAL,
                                $DAYS_TRANSFER,
                                $FILE_NAME,
                                $DATE_CREATED   ) = split( "|", $line );

        Line 26 is the last line with the split.  Here is a sample $line output:

        Setup|3000007380|E SMITH||9426 THAYER AVE|BATON
ROUGE|LA|70810|322270275|C|5011028171||9|5a|2003-11-03

        Could someone point me in the direction of correcting this?  I have no idea
what REG_EMPTY is referring to, and have changed the code around in a couple
different ways..  Thanks in advance.

-Dan Joseph

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

Reply via email to