Daniel-MD
Regular Member
- Dec 2, 2007
- 355
- 339
Tried to find the answer on Google but no luck as google ignore {}
So .why programmers use {} in building sql strings like this one:
Thanks
So .why programmers use {} in building sql strings like this one:
PHP:
mysql_query( "insert into tblaffiliatepayments(naffiliate_id,suserforename, susersurname, suseremail, nmemberjoindate, nnextpaymentdate, ncommission,ndate, sitemname) values('".$afid."','{$findUser->sForename}','{$findUser->sSurname}','{$findUser->sEmail}','{$findUser->nJoinDate}','{$findUser->nDateExpires}','{$comm}','{$today}', '{$chkPayPlan->sDescription}')" );
Thanks