|
Posted by Bacchus on 06/10/06 16:02
I have been searching for the last four days on trying to extract
variables out of a message/body, textarea. I have see this form where a
user could insert variables(based on fields from a database) into a
message box, textarea. How does one parse these variables out of the
message and insert the actual values from the database.
//snip snip
FROM NAME :
FROM EMAIL :
You can use the following to insert variables in your message
and subject : $ID, $intgold, $password, $referrer, $duedate, $startdate,
$firstname, $lastname, $email, $phone
SUBJECT:
MESSAGE: //snip snip
Their form which I can view shows no hidden fields for these variables,
it is just a basic form setup the standard way to pass the four fields,
from_name, from_email, subject, message. I have emailed the webmaster,
but I don't think he wants to give up his secret.
I have been trying diffenert techniques I have seen, but not working. I
have seen some other forms that allowed for variables to be used in the
body/textarea so It must be possible. How do you extract and replace
variables into a message field and then send them out later in the email??
Thanks in advance!
Navigation:
[Reply to this message]
|