Embed 'error' within the 'li' tags, so it won't produce extra output. Something like:
echo "<li> error, $value </li>";
jujav4ik
2010-08-18 13:08:56
Embed 'error' within the 'li' tags, so it won't produce extra output. Something like:
echo "<li> error, $value </li>";
I have checked. This is work.
$a[0] = 'Please enter address line 1';
$a[1] = 'Please tell us your first name';
foreach ($a as $b) {
echo $b;
}