Dislay PHP Array data in User understandable Form or in table form
Array $booking_array = array( "slots_booked" => $slots_booked, "booking_date" => $booking_date, "cost_per_slot" => number_format($cost_per_slot, 2), "name" => $name, "email" => $email, "phone" => $phone ); using print_r() <?php print_r('<pre>'); print_r($booking_array); print_r('</pre>'); ?> output : Array ( [slots_booked] => 13:00:00| [booking_date] => 2015-06-28 [cost_per_slot] => 20.50 [name] => sdsafd [email] => ssiii@gmail.com [phone] => 9898989898 ) In User Understandable table form <?php echo 'Your Deatils'. '<br/><br/>'; echo 'Appointment Time' . $slots_booked .'<br/>'; echo 'Appointment Date' . $booking_date .'<br/>'; echo 'Appointment Cost' . $cost_per_slot .'<br/>'; echo ...