Hi, I'm having a slight problem with my SQL query. I am using it to display a list of 'tutorials' (rows) in the database (Using PHP), and for some reason my Select statement doesn't let me select a certain field - It selects it fine when I use SELECT * FROM tutorials, but if I actually change * to the values (Which I need to do to apply WHERE clauses I believe) then it errors on the desc field, saying
The code I'm using that errors is
SELECT tutid,catid,title,desc,image FROM tutorials
The table has the following fields:
tutid (int)
catid (int)
title (text)
desc (text)
image (varchar)
content (text)
The 'content' is only outputted when a tutorial is chosen.
Thanks