How to submit array data to bootstrap/zurb foundation modal, This is my Form to submit data:
<form method="post" action="">
<p>
<label>Name 1: </label>
<input type="text" name="name[]" size="30" />
</p>
<p>
<label>Name 2: </label>
<input type="text" name="name[]" size="30" />
</p>
<p>
<label>Name 3: </label>
<input type="text" name="name[]" size="30" />
</p>
<p>
<label>Address: </label>
<textarea name="address"></textarea>
</p>
<p>
<input type="submit" value="Submit" />
</p>
</form>
My modal to display submit result:
<div id="modal">
Name :
Address :
</div>