My code is below, I want to be able to display my results in paragraphs.
<?php
if(isset($POST['interest']))
{
print_r($POST['interest']);
// loop.
foreach($_POST['interest']as $value)
{
}
}
?>
I've tried the code below and it gives me the results in paragraphs but only duplicates:
<?php
if(isset($POST['interest']))
{
foreach($POST['interest']as $value){
print'<p>';
print_r($POST['interest']);
print'</p>;
}
// loop.
foreach($POST['interest']as $value)
{
}
}
?>
Any help cheers!?