Try looping through the name and value pairs like this
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color]
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color]a]806a]
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color].= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value &1]
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= h the name and value pairs like this
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color]18b806a]
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entereairs like this
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color]h the name and value pairs like this
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color:16on to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // s like this
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | te;$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <b
foreach($HTTP_POST_VARS as $key=>$value)
{
$msg .= "$key = $value <br>";
}
Then use the mail function to send the data. If you want only entered data to go to the $msg variables ( not empty data ) then
Code: Select all
foreach($HTTP_POST_VARS as $key=>$value)
{
if(strlen($value) > 1){ // only entered datas will be taken
$msg .= "$key = $value <br>";
}
}
d11wtq | Please use Code: Select all
tags when posting PHP code [/color]