hello all,
I need to put a bit of html in the display of a column... example: http://www.fanatexe.com/users_last.php
I have gotten the sql module to retrieve the information perfectly, but my table only includes the image name. I was using the following php to achieve the effect wanted:
//connect to the database
$connectionstring = odbc_connect("xxx", "xxx", "xxx");
//SQL query
$Query = "SELECT firstname, lastname, username, imagepath FROM users ORDER BY lastname ";
//execute query
$queryexe = odbc_do($connectionstring, $Query);
//query database
while(odbc_fetch_row($queryexe))
{
$firstname = odbc_result($queryexe, 1);
$lastname = odbc_result($queryexe, 2);
$username = odbc_result($queryexe, 3);
$imagepath = odbc_result($queryexe, 4);
//format results
print ("
");
print ("| $firstname | ");
print ("$lastname | ");
print ("$username | ");
print (" ");
print (" |
");
note the second to last line where I have inserted some information onto the result... is this possible in the module?