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? Quote 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? Quote 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... Quote 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'); ?> Quote Link to comment https://forums.phpfreaks.com/topic/85445-really-frustrating-problem/#findComment-436580 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.