[Solved] Please show me a better way
Posted: Thu Dec 16, 2004 10:19 pm
What is a beter way to do this (ie. some kind of include, without breaking up all the code):
Thanks!
Code: Select all
<?php
$body = 'Name: ' . $name;
$body .= '<br>E-mail: ' . $email;
$body .= '<br>Amount: ' .$amount;
$body .= '<br><div align="left"><p>Direct money to:<br>';
$body .= 'Chapel?: ' . $chapel;
$body .= '<br>Scholarship: ' . $scholarship;
$body .= '<br>In ' . $selectName . ' of:' . $choose_name;
$body .= '<br>Membership? ' . $membership;
$body .= '<br>As Needed? ' . $as_needed;
$body .= '<br>Work Weekend? ' . $work_week;
$body .= '<br>Other? ' . $other . 'What? ' . $other_name;
$body .= '</p></div>';
?>