I want to add an ip address to the sql server via a php query, it doesn't work (probably because of a colon) in the Users table, the user_ip column has the data type nvarchar (300)
$userip=$_SERVER['REMOTE_ADDR']; $query= ("update Users set user_ip=(".$userip.") where id= (".$_SESSION['login'].")"); 
192.168.0.1and'192.168.0.1'. I advise you to figure it out - ArchDemon