Here is a chunk of code:

while( /hidden name=(.*?)>/gs ) {
       # see if there was some kind of error


####################################
       if(index($1, "ERROR") == 0) {
              $errstring = $1;
              $errstring =~ ( /value="(.*)"/ );
              print "Error on preview is: $1\n";
              exit -1;

###########################################


Can anybody convert the code to PHP surounded by #

Thanks,

Randy


       }


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to