Welcome Guest, Not a member yet? Register   Sign In
Database Query Problem.

I have a date field in the database . Inorder to get the year of the date I am using the SQL feature "YEAR(column_name)" . my problem is the query is executing but i am not able to echo it int the view file whenever i use $data-> YEAR(Column_name); it returns an error.

Theme © iAndrew 2016 - Forum software by © MyBB