Re: dialup admin coding - help required

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 ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-22-2006
Gaddis, Jeremy L.
 
Posts: n/a
Default Re: dialup admin coding - help required

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0