This is a discussion on Re: dialup admin coding - help required within the FreeRADIUS Users forums, part of the Networking and Network Related category; On 12/21/06, Cory Robson <cory@cmi.net.au> wrote: > Anyway this is my code for ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 12/21/06, Cory Robson <cory@cmi.net.au> wrote:
> Anyway this is my code for my failed login page, my sql query does parse all > information into the array ok but I just cannot seem to get it to output on > screen. Any way here is what I have so far anyone able to assist in showing > me where I'm going wrong. First, see Owen's reply (which I haven't quoted). I believe he's nailed the issue and his code would most likely work, though I would do it like this: [snip code] > *// Here is my screen output, obviously I need to loop through the array and > output the lines but just can't figure it out. *// > > <tr align=center bgcolor="white"> <td><?php print $num; ?></td> <td><?php print $acct_login; ?></td> <td><?php print $acct_password; ?></td> <td><?php print $acct_time; ?></td> <td><?php print $acct_terminate_cause; ?></td> <td><?php print $acct_calling; ?></td> > </tr> > </table> [snip code] Both Owen's code and mine should have the same effect, however I've found that the above is sometimes easier to read and "keep track of". And I like to keep my HTML and PHP "blocks" separate as much as possible. -j -- Jeremy L. Gaddis, MCP, GCWN http://www.linuxwiz.net/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |