Hello as you know I'm working on a website, but I am having troubles using an odbc connection tho a function it works perfectly with mssql, but odbc is a no go
PHP Function Code - I used the custom php get function
Code:
function fetch_col($A){
return(odbc_fetch_array($A));
}
HTML Document - Variable A
Code:
<table>
$A = query($Connection,"SELECT * FROM Character WHERE DeleteFlag = '0'");
while($B = fetch_col($A)){
<tr><td>".$B['Name']."</td></tr>
}
</table>


Reply With Quote

