Kind of hoping to do shorten it like this:

echo "<tr><td>Your score is: </td><td>".$score[0]=split($P1OC1Q1,"¶")."</td></tr>\n";

No such hopes?

> Looks like a really simple piece of code except for the cryptic variable names.
>
> >$P1OC1Q1 = "1¶some text or some comment";
> >echo "<tr><td>Your score is: </td><td>"; $score=split($P1OC1Q1,"¶"); echo 
> >$score[0]."</td></tr>\n";
> >
> >Do I have to go through all that to get score[0] ?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to