using PHP global variable -
I have a PHP global variable that I fill in a row from a database in the PHP section of my file. When I resize the $ line individual field, print the value as expected. Resize When I try to use different fields later in the HTML code, nothing in the file is visible. Is anything else that should be coded for the name? Thanks, Bob H You have all the rows in the $ rows. (But try to avoid using global variables.) Global $ Row; / * Recover each row as an Associate array and display results. * / While ($ line = sqlsrv_fetch_array ($ stmt, SQLSRV_FETCH_ASSOC))
$ line ['crust_lost_name]]]. ",". $ Line ['Cust_PRI_Phone_Number']. "& Lt; br / & gt;";
& lt; Label & gt; Name & lt; / Labels & gt; & Lt ;? Php Global $ line; Echo ['Cust_Last_Name'] per line; ? & Gt;
global $ rows; While ($ line = ...) {$ line [] = $ line; }
Comments
Post a Comment