waterfoul Posted January 10, 2008 Share Posted January 10, 2008 In my script it apparently crashed after the following set of lines print('...'); print(preg_match_all('/Boxes11[^{]*?{([^}]*?)}/i',$file,$tableCellStyle)); print('GRR'); when those lines run I see "..." but nothing else, any 1 have any ideas as to whats going on? Link to comment https://forums.phpfreaks.com/topic/85445-really-frustrating-problem/ Share on other sites More sharing options...
Ken2k7 Posted January 10, 2008 Share Posted January 10, 2008 print(preg_match_all('/Boxes11[^{]*?{([^}]*?)}/i',$file,$tableCellStyle)); Then I guess that line is the problem. Do you mean to print out the array $tableCellStyle or what? Link to comment https://forums.phpfreaks.com/topic/85445-really-frustrating-problem/#findComment-436002 Share on other sites More sharing options...
waterfoul Posted January 11, 2008 Author Share Posted January 11, 2008 The print on that line was o hat i could see if that function is outputting anything and I know that its that line... Link to comment https://forums.phpfreaks.com/topic/85445-really-frustrating-problem/#findComment-436448 Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 The print on that line was o hat i could see if that function is outputting anything and I know that its that line... Try this <?php print('...'); preg_match_all('/Boxes11[^{]*?{([^}]*?)}/i',$file,$tableCellStyle); foreach ($tableCellStyle as $t) echo $t.", "; print('GRR'); ?> Link to comment https://forums.phpfreaks.com/topic/85445-really-frustrating-problem/#findComment-436580 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.