0
Undo
Votes
I\'m trying to create a hyperlink in the results of a sqltabe:
{artsqltable query=\"select concat(\'<a href=`\', \'http://www.google.com\', \'`>\', deptName,\'</a>\' ) as Departments from Departments where deptYear IS NULL Order by deptName\" connectionString=\"mysql,localhost,DBName,user,password\"}{/artsqltable}
The following is what I get:
<a href=`http://www.google.com`>Advanced Placement (AP)</a>
Text filters are turned off.
Thanks
{artsqltable query=\"select concat(\'<a href=`\', \'http://www.google.com\', \'`>\', deptName,\'</a>\' ) as Departments from Departments where deptYear IS NULL Order by deptName\" connectionString=\"mysql,localhost,DBName,user,password\"}{/artsqltable}
The following is what I get:
<a href=`http://www.google.com`>Advanced Placement (AP)</a>
Text filters are turned off.
Thanks