Hi, im new to PHP programming and ive tried a few forums on the net with this question and so far no answers.
I have a php form that is working fine with a pre-determined email address, part of the code is as follows:
I also have a variable that displays fine on the page: (shows an email address passed via previous page)
<?php echo $_GET['ID']; ?>
So what i am trying to do is combine the two so that it would use the 'ID' as the <email@example.com>. Something like:
$data_email_sender->AddToAddr("name<?php echo $_GET['ID']; ?>");
I know this is incorrect, but it shows what i am trying to do. Ive tried various ways and so far no success!
Hope someone on daniweb can help. Thanks in advance!