1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Grabbing IP's to be displayed in a table?

Discussion in 'General PHP and MySQL Discussions' started by Demon, Jul 17, 2015.

  1. Demon

    Demon Active Member

    I'm not sure if this is in the right forum. So if it's not, can it get moved?

    Recently a ban list was created and the creator and I don't know how to get the ip's to display. The ban list is for the admins only.


    Can anyone provide examples or tips on how to best do this?
  2. digitalpoint

    digitalpoint Well-Known Member

    IP of what, the end user or the person doing the banning?
  3. Demon

    Demon Active Member

    End user.
  4. digitalpoint

    digitalpoint Well-Known Member

    There isn't a function to get the user's last IP that isn't related to a specific piece of content created. You will want to do a query against the IP table to get that info for the user.
  5. Demon

    Demon Active Member

    I know that much. Queries were used to get everything else.

Share This Page