This topic is locked

Showing Label in stead of filed name

9/1/2007 1:29:13 PM
PHPRunner General questions
M
mmponline author

I've used the following lines to send an e-mail- as in the event:
foreach($values as $field=>$value)

$message.= $field." : ".$value."\r\n";
It displays the fieldname however when the user receives the mail. How can I change it (if possible) to rather show the Label name:
Eg.
FromPrice : should be From Price:

ListingDescription : should be Listing Description

Etc.

Alexey admin 9/5/2007

Stephan,
use Label function for this.

I.e.

foreach($values as $field=>$value)

$message.= Label($field)." : ".$value."\r\n";

M
mmponline author 9/5/2007

Perfect!
Your help is spot-on - like always!
PHPRunner Support rocks!