|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Arrays and Forms
Hello, I have a basic question as I'm new to PHP.
I have a form page, with checkboxes that are arrays: name="check[0]" name="check[1]" I am trying to catch the array on the next page by: $var = '$_POST[check[0]]' This does not work; what does? |
|
#2
|
|||
|
|||
|
RE: Arrays and Forms
$var = $_POST[check][0];
that should do it |
|
#3
|
|||
|
|||
|
RE: Arrays and Forms
Thank you, it worked.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Arrays and Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|