string to an array
Posted: Fri Dec 29, 2006 2:36 pm
Well I've done this
and the i get the contents of the page as a string stored as $output. When displayed it is displayed as 5 lines of content, for example
or something similar. 
Code: Select all
ob_start();
include("$nukeurl/modules/$vwar_modulename/extra/nextactions.php");
$output = ob_get_contents();
ob_end_clean();
echo $output;The names, dates, and times are not static. I was wondering what function I could use to make each line an element of an array. That way I could referencesTs vs. -BH- 30-12-06 at 9:00 pm
sTs vs. HSK 6-1-07 at 9:00 pm
sTs vs. LoD 7-1-07 at 8:00 pm
sTs vs. LoD 13-1-07 at 9:00 pm
sTs vs. UNP 14-1-07 at 3:00 pm
assTs vs. -BH- 30-12-06 at 9:00 pm
Code: Select all
date[0]