First of all i'm new to this forum, glad i found this wonderful place. I'm also new with programming and just came across the following problem; I have a PHP script with a mysql backend, i basically want it to save the IP address and date the user last logged in. I have done the changes in red myself (see below), but it just wont work. It just doesnt save the IP Address and Date in the user table 'logindate' and 'loginip' columns. No error or anything either.
Does anyone have an idea what i'm doing wrong? Thank you in advance!