`
<?pho mysql_select_db ("interswitch"); $transID = $txRef; $sql = mysql_query("select * from registration where trnxid like '%$transID%' or RegFullName like '%$transID%' "); while ($row = mysql_fetch_array($sql)){ $Snumber = ($row['FormID']); $Fullname = ($row['RegFullName']); $Organization = ($row['RegOrganization']); $Position = ($row['RegPosition']); $Address = ($row['RegAddress']); $Email = ($row['RegEmailaddress']); $Picture = ($row['RegPic']); $Officetell = ($row['RegOfficeTel']); $Mobiletell = ($row['RegMobileTel']); $Fax = ($row['RegFaxTel']); $Pol1 = ($row['RegPol1']); $Pol2 = ($row['RegPol2']); $Orgprofile = ($row['RegOrgProfile']); $RegAtrans = ($row['RegTranYes']); $RegHtrans = ($row['RegHotelYes']); $Date = ($row['Date']); $Amount = ($row['amount']); $Rsp_code = ($row['response_code']); $Rsp = ($row['response']); $Transid = ($row['trnxid']); } echo $email; echo $Fullname; $to = $email; $subject = "Not successfull"; $message = " HTML emailThis email contains HTML Tags!
Firstname | Lastname |
---|---|
John | Doe |
`
cant get this to work, its not call data from Database, please help. the echo is not working