You need another question mark after INET_ATON. Also instead of setting a PHP variable you can just use the mysql function NOW().