looking for some help here. 
Can only use PHP and javaScript, JQuery for this solution.
I have a form that takes in customer name and address I need the ability to add unlimited customers to this form. eg
	
	
	
		
I need a button that I can click that will render a new form section for the new customer details. so that would basically output 
	
	
	
		
Any tips on how to do this or what I should be googling?
Thanks
	
		
			
		
		
	
				
			Can only use PHP and javaScript, JQuery for this solution.
I have a form that takes in customer name and address I need the ability to add unlimited customers to this form. eg
		PHP:
	
	<?php
$customers = NULL // A collection of customers passed through the controller
    foreach($customers as $customer){
    <div>     
        <label for="customer_<?php echo $i ?>_forename">Customer Forename:</label>
        <input type='text' id="customer_<?php echo $i ?>_forename" name='cust[<?php echo $i ?>][forename]' value="<?php echo $customer->forename; ?>" />
    </div>
}
?>
		PHP:
	
	<div>     
        <label for="customer_<?php echo $i+1 ?>_forename">Customer Forename:</label>
        <input type='text' id="customer_<?php echo $i+1 ?>_forename" name='cust[<?php echo $i+1 ?>][forename]' value="<?php echo $customer->forename; ?>" />
    </div>Any tips on how to do this or what I should be googling?
Thanks
 
	 
  
 
		 
 
		
