PHP Code Explanation Needed

Status
Not open for further replies.

Muffmuncher

Member
Jan 11, 2012
61
12
In the following
PHP:
<?php $query = mysql_query("UPDATE users SET ip_reg = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'"); ?>

does it execute the query to update the user's ip_reg to his/her current IP?
 
Status
Not open for further replies.

Users who are viewing this thread

Top