[wd_asp elements=’search’ ratio=’100%’ id=1]

Save each post collected as a variable

11th December 2015

Php - Strings

php codehaven

Great for testing what is being sent to a page, add this first to show what is being collected….
$count=0;
foreach ($_POST as $key => $value) {
$field[$count] = $value;
$count++;
}

echo "
my1".$field[0];
echo "
my2".$field[1];
echo "
my3".$field[2];