Hello,
I would like to split the string and have the results in an array which I can then loop until all are displayed. This is what I currently have thanks to Jeff.
<?php
$BREAK = str_replace(",", " ", $_POST['feild1']);
for ($loop = 0; $loop < count($BREAK); $loop++) echo '<font size="2">'.nl2br($BREAK);
?>
How can I have all the values in $BREAK split into arrays so I can have the data spread across a table columns? I used $BREAK = explode(",", $_POST['feild1']); before and got the arrays, but only the first line was displayed thefore had to use the loop, but then I can't use the arrays? Any help is appreciated.
Thanks,
dR
I would like to split the string and have the results in an array which I can then loop until all are displayed. This is what I currently have thanks to Jeff.
<?php
$BREAK = str_replace(",", " ", $_POST['feild1']);
for ($loop = 0; $loop < count($BREAK); $loop++) echo '<font size="2">'.nl2br($BREAK);
?>
How can I have all the values in $BREAK split into arrays so I can have the data spread across a table columns? I used $BREAK = explode(",", $_POST['feild1']); before and got the arrays, but only the first line was displayed thefore had to use the loop, but then I can't use the arrays? Any help is appreciated.
Thanks,
dR