sc_mail_send and variable

i use this script but i have problem with variable:

{start_date}=$startdate;

{start_time}=$starttime;
 
 {title}=$title;
  
 $modtitle=$startdate.$starttime.$title;

sc_mail_send(‘’, '’, ‘’, '’, $email, $modtitle, {note}, ‘H’, ‘’, ‘H’, ‘’, ‘’,’’, );

script works, but send me only result of $title not $modtitle

If the values are in the fields, your first three lines should be:

$startdate = {start_date};

$starttime = {start_time};

$title = {title};

EDIT-

If not, and with your originalcode you still get $title populated, double check the code\script\whatever where you are supposed to populate $startdate and $starttime

i try this :
$startdate= {start_date};

 $starttime= {start_time};
 
 $title= {title};
  
 $modtitle= $startdate.'.'.$starttime.'.'.$title;

but in email i see only $title