I am using below code to insert data in mysql table. But unfortunately data is not inserting. Can anyone help to solve the issue.
<?php
$conn = mysql_connect('localhost','root','password');
mysql_select_db('db_name',$conn);
mysql_query("insert into users_logger_info(user_id,logged_time) values
('test',NOW())");
?>