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
This is the code that use to work but are now getting MySQL syntax errors:
Does anyone know how to properly display this on the Client Summary?
Thanks,
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
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");
Thanks,