you can use ob_start(); at the beginning of the code
theres probably a cleaner way to do this thojugh
User Profile
Collapse
-
it was something else
im an idiot haha
tahnks for the help...Leave a comment:
-
whoops, i duplicated taht code freehand
they are both labeled siteid...Leave a comment:
-
Array not recognized when form submitted
works fine in FF, not in IE
form
go.phpCode:<form action = go.php method = get> <input type='checkbox' name='id[]' value='1'> <input type='checkbox' name='id[]' value='2'> <input type='checkbox' name='id[]' value='3'> <input type=submit value='Send'> </form>
...Code:if (is_array($_GET["siteid"])) { echo "IS ARRAY"; } -
go.php simply recognizes if the data is an array
the initial code above should be GET instead of POST
Code:if (is_array($_GET["siteid"])) { echo "IS ARRAY"; }Leave a comment:
-
IE does not recognize array passed through form
works fine in FF, not in IE
any ideas why?Code:<form action = go.php method = post> <input type='checkbox' name='id[]' value='1'> <input type='checkbox' name='id[]' value='2'> <input type='checkbox' name='id[]' value='3'> <input type=submit value='Send'> </form>
No activity results to display
Show More
Leave a comment: