Update field with $_SERVER['REMOTE_ADDR']; |
3/3/2007 08:14:49 | |
| PHPRunner General questions | ||
|
L
Lisa2006 author
Hi Everyone, |
||
|
T
|
thesofa 3/4/2007 |
|
hI /*
|
|
|
L
|
Lisa2006 author 3/5/2007 |
|
Thank you for your response. I will try this at some point. |
|
|
J
|
Jane 3/5/2007 |
|
Lisa, global $conn; $ipaddress = $_SERVER["REMOTE_ADDR"]; $strUpdate = "update _sampletable set ipaddress='".$ipaddress."' where username='".$_SESSION["UserID"]."'"; db_exec($strUpdate,$conn); |
|
|
L
|
Lisa2006 author 3/5/2007 |
|
Hi Jane, |
|