>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] ?
I think reset(split()) should work for getting the first element. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php