1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to create SQL varaiable database?

Discussion in 'Databases' started by Rachidspot, Apr 18, 2016.

  1. #1
    Hi all !

    Please I have a php mailer and I want to set a sql variable like [ip] to get ip from used server, how can I do it??

    and please I want to create an input in wich i can put server, then when I click on get IP, all ip from the server will appear automaticly, How can I execute this using php code

    Thank you
     
    Rachidspot, Apr 18, 2016 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Read http://php.net/manual/en/reserved.variables.server.php for $_SERVER['REMOTE_ADDR'] to get the IP
    and start working through some simple tutorials to get a feel for how to save to the database and retrieve from it.

    Are you using an existing mailer? or content management system?
     
    sarahk, Apr 18, 2016 IP