Re: [php] explode that :) !
| From: | John Taylor-Johnston | Date: | Sun, 17 Aug 2003 05:40:18 +0000 |
| Subject: | Re: [php] explode that :) ! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159822@lists.php.net to get a copy of this message | ||
> Why not:
> echo "<tr><td>Your score is:
>
> </td><td>".split($P1OC1Q1,"¶")."</td></tr>\n";
Ok, but what happens when $P1OC1Q1 = "". It errors out.
$P1OC1Q1 = "";#left blank
$P1OC1Q2 = "1¶bunch of text";
$P1OC1Q3 = "1¶bunch of text";
$P1OC1Q4 = "1¶bunch of text";
$P1OC1Q5 = "1¶bunch of text";
$P1OC1Q6 = "1¶bunch of text";