this started appearing and not sure why. it was working fine and don't recall making any changes to anything.
Another thing I have tested this on linux 7.3 machine running php4 and it works fine but when I run it on solaris machine running php4 I get the error please do assist thanks again
Warning: Variable passed to each() is not an array or object /webdocs/unonnew/restrict/intranet/survey/yy.php on line 66
this the form which submits the data:
<form method="POST" action="yy.php">
E-mail 1:<input type="text" name="browser1[]"><br>
E-mail 2:<input type="text" name="browser1[]"><br>
E-mail 3:<input type="text" name="browser1[]"><br>
<input type="submit" value="Refer E-mail Addresses">
</form>
This the yy.php file which prompts the error above
<?#yy.php
while (list ($key, $val) = each ($browser1) ) {
echo "$browser1[$key]<br>";
}
?>