I know it is something simple but not sure why my php form is returning just the word "Array". Here is the part of the form and the php for the "review" page that is retuning the "Array".
form.php
<div class="clubPhotos">
<div class="club">
<img src="clubs/img/praxispi.png" class="clubPhoto" />
<span class="clubTitle">Praxis PI</span>
<span class="clubSub">Low Launch 9.5</span>
<input type="checkbox" id="clubCheckbox4" class="clubCheckbox" name="DriverType[Low Launch 9.5]" value="Praxis PI Low Launch 9.5" />
</div>
<div class="club">
<img src="clubs/img/praxispi.png" class="clubPhoto" />
<span class="clubTitle">Praxis PI</span>
<span class="clubSub">Mid-Low Launch 12.5</span>
<input type="checkbox" id="clubCheckbox1" class="clubCheckbox" name="DriverType[Mid-Low Launch 12.5]" value="Praxis PI Mid-Low Launch 12.5" />
</div>
<div class="club">
<img src="clubs/img/praxispi.png" class="clubPhoto" />
<span class="clubTitle">Praxis PI</span>
<span class="clubSub">Mid-High Launch 15.5</span>
<input type="checkbox" id="clubCheckbox2" class="clubCheckbox" name="DriverType[Mid-High Launch 15.5]" value="Praxis PI Mid-High Launch 15.5" />
</div>
<div class="club last">
<img src="clubs/img/praxispi.png" class="clubPhoto" />
<span class="clubTitle">Praxis PI</span>
<span class="clubSub">High Launch 18.5</span>
<input type="checkbox" id="clubSelect" class="clubCheckbox" name="DriverType[High Launch 18.5]" value="Praxis PI High Launch 18.5" />
</div>
<div class="clear"></div>
</div>
review.php
echo (!empty($_REQUEST['DriverType'])) ? "<div class='reviewItem'><span class='reviewTitle'>Driver:</span>{$_REQUEST['DriverType']}</div>" : "";
I tried changing the to DriverType[] but no success.
print_r($_REQUEST['DriverType'])to see the structure and values of your array. Then you could loop through it.echoarrays. Use a loop, or echo only the specific index you need. (hint:print_r($_REQUEST['DriverType']);will list the array contents for you)