Help

Results 1 to 1 of 1
  1. #1
    Novice LonnieHaynes is offline
    MemberRank
    Jan 2011 Join Date
    1Posts

    Help

    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>




Advertisement