This is a discussion on "Calling functions in mail message" within the PHP Forum section. This forum, and the thread "Calling functions in mail message are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Calling functions in mail message
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Calling functions in mail message
I am trying to call a function within an email message
It just writes the words not the actual function value. Do I need a $ before it or something?? I dont know man I have this:
Quote:
- The Function is set up like this: function Plevel($Priority) { if ($Priority=="Level 1") echo"12 hours"; if ($Priority=="Level 2") echo"24 hours"; } - |
|
|
|
|||
|
Try:
|
|
|||
|
Thanks man I got it, I got it,
sorry for being a long winded arse on this one, used to dealing with asp and I thought php would be straight forward. There are a lot more symbols to organise. AK |
![]() |
| Tags |
| calling, functions, mail, message |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling functions in a function | fatsurfer | PHP Forum | 1 | Jun 12th, 2008 21:53 |
| Calling functions with variable? | CloudedVision | JavaScript Forum | 1 | Apr 18th, 2008 08:44 |
| Calling functions | thriftyspider | Classic ASP | 5 | Aug 7th, 2007 14:54 |
| Sending Mail, Body message from database | chlad | Classic ASP | 3 | Nov 16th, 2006 04:05 |
| Calling functions between frames | apparentlyso | JavaScript Forum | 0 | Oct 18th, 2006 21:07 |