foreach($all as $elem)
{
//table with 4 cells one giant row and three small rows next to it
$lineData = explode("**", $elem);
$name=stripslashes($lineData[0]);
$email=stripslashes($lineData[1]);
$comment=stripslashes($lineData[2]);
$num = key($all)+1;
echo “
Name: $name | ”;
Email: $email | ”;
Comment: $comment | ”;
next($all);
I got these errors:
Notice: Undefined offset: 1
Notice: Undefined offset: 2
Also the data go in one line, they don’t go in table cells
Any help would be greatly appreciated