formatting php email form
I have a working form that sends to a php page for processing. however there is a line of code that i dont understand. In the email the form us currently centred but i really need it aligned left.
below is one field and the alignment code
$fields{"field1"} = "text showing in email";
$body = "We have received the following information:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); }
can i delete the above code and put the $fields{"field1"} = "text showing in email"; into a table
thanks in advance
