this works but this doesnt?

ok so this works:

mail('blahemail','New Enquiry via blah','Hi . Please check your database - you have had a new enquiry from ' . $name . ' at ' . $date ' );

but this doesnt ?

mail('blahemail','New Enquiry via blah','Hi . Please check your database - you have had a new enquiry from ' . $name . ' at ' . $date ' details are '$postcode', '$property', '$extension', '$floorArea', '$quote', '$tel'; echo "Success";)

on the second one are you specifying where the variables are coming from
example

$postcode=$_GET[‘postcode’]; from another page
or
$postcode=$row[‘postcode’]; from a database

Sponsor our Newsletter | Privacy Policy | Terms of Service