[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: dialup admin coding - help required
From:       "Gaddis, Jeremy L." <jeremy () linuxwiz ! net>
Date:       2006-12-22 15:11:31
Message-ID: 6385ebb70612220711k7f457d92p89d9e535907a4620 () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic