#1
|
||
|
phMailer Autoselect Subject from Array
I've setup the subject array in phMailer successfully.
My question is this: How can I automatically select the subject from the array? I have a page that lists departments and each department contact is a link to phmailer. When the user clicks department "a" then they would be taken to the phmailer page and subject "a" would be selected from the array. If the user clicks department "b" then they would be taken to the phmailer page and subject "b" is selected from the array and so on. Thanks in advance.
__________________
Mike |
#2
|
||
|
Line 559:
Replace: PHP Code:
PHP Code:
phMailer.php?dept=0 phMailer.php?dept=1 phMailer.php?dept=2 If your subject list looks like this: $subjects=array("Department 1","Department 2","Department 3"); 0 represents Department 1 1 represents Department 2 2 represents Department 3 and so on.
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
||
|
Scott:
You are the man. This worked great! Thanks for the quick response.
__________________
Mike |
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 - add Subject EntryField | rosdi | phphq.Net Forums | 0 | 04-30-2009 11:08 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 |
HP Disk Array vs Bullet :) | Steve | Hardware and Software | 0 | 04-22-2006 04:39 AM |