Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Adding Security Question to the Admin Client Summary Page

$
0
0
Hello,

We are trying to add Client's Security Question and Answer to the Admin Portal Client Summary Page. We are using the following code but there is nothing being displayed

Code:

SELECT tbladminsecurityquestions.question,
tblclients.securityqans
FROM tblclients, tbladminsecurityquestions WHERE
tblclients.id=".$this->_tpl_vars['clientsdetails']['userid']."
AND tblclients.securityqid =
tbladminsecurityquestions.id

This is the code that use to work but are now getting MySQL syntax errors:
Code:

$result = mysql_query("SELECT tbladminsecurityquestions.question,
tblclients.securityqans FROM tblclients, tbladminsecurityquestions WHERE
tblclients.id=".$this->_tpl_vars['clientsdetails']['userid']." AND tblclients.securityqid =
tbladminsecurityquestions.id");

Does anyone know how to properly display this on the Client Summary?

Thanks,

Viewing all articles
Browse latest Browse all 13458

Trending Articles