Posted by: tonyteaching | March 24, 2009

Insert IP visitors into MySQL table

just put this line on “Insert.php”


and don’t forget put


on each query on the same file (Insert.php)

and create the new field ‘ip’ in the database



  1. hello, i need help inserting online visitors in mysql database and show it on me website.

    can you help me with php code create ?

  2. hi

    Am doin a project where i need to log the visitor’s ip. I am able to see that ip when i echoed it on my front-end page.
    But not able to insert it into my database. Please help me.

    Thanx in adv.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: