![]() |
Sergey Kornilov admin 12/31/2013 |
Instead of $email="email@email.com";
$email=$values["FieldNameThatStoresEmailAddresses"]; |
S
|
SkyForum author 12/31/2013 |
Instead of $email="email@email.com";
$email=$values["FieldNameThatStoresEmailAddresses"];
|
S
|
SkyForum author 12/31/2013 |
Ok, we're all in trouble now. I'm answering my own threads. lol |
C
|
copper21 12/31/2013 |
You can lookup the name of the property via the link. I am guessing that the "Property" Field is showing the ID number/link of the line of data in the Property Table? |
S
|
SkyForum author 12/31/2013 |
You can lookup the name of the property via the link. I am guessing that the "Property" Field is showing the ID number/link of the line of data in the Property Table? Put this before the send email area global $conn; $strSQLSelect = "SELECT * FROM PROPERTYTABLE WHERE PROPERTYID = ".$values['Property'].""; $rsSelect = db_query($strSQLSelect,$conn); $data=db_fetch_array($rsSelect); Then replace the line: $msg.= "Property Name: ".$values["Property"]."\r\n"; with $msg.= "Property Name: ".$data["PROPERTY_NAME_FIELD"]."\r\n";
|