#1
|
||
|
phMailer - add Subject EntryField
Hi,
I found this website from a posting in CubeCartForum.org. Nice contact us form. I would like to change the email subject from "department" to new Subject EntryField. I add below before the message: Code:
<tr> <td width="30%" class="table_body">Subject:</td> <td width="70%" class="table_body"><input name="resubject" type="text" size="30" value="<?=stripslashes(htmlspecialchars($resubject));?>" /><span class="error_message">*</span></td> </tr> Code:
if(theform.resubject.value=="") { error+="You did not enter the subject\n"; } Code:
$myemail=$emails[$emailsubject]; $emailsubject=$subjects[$emailsubject]; Code:
$myemail=$emails[$emailsubject]; $emailsubject=$resubject[$emailsubject]; Please help. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help for seting the link name with some string prefix to phmailer subject field..please help ..its | sandeep | phphq.Net Forums | 0 | 06-02-2010 12:07 PM |
phMailer Autoselect Subject from Array | mike92772 | phphq.Net Forums | 2 | 01-30-2009 01:53 PM |
Add text to body in phMailer | spawny | phphq.Net Forums | 8 | 09-19-2008 12:07 AM |
phmailer subject validation | glennpaddock | phphq.Net Forums | 6 | 02-15-2008 02:41 PM |
phMailer - Would like to prepend e-mail subject line | sgharris | phphq.Net Forums | 1 | 11-13-2007 05:11 PM |