You are here: parsing variables in textarea on form « All PHP « IT news, forums, messages
parsing variables in textarea on form

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация