PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$query = "SELECT * FROM workshop WHERE type = Workshop ORDER BY id ASC LIMIT $offset, $rowsPerPage";
The problem is "WHERE type = Workshop". I get the error "Error : Unknown column 'Workshop' in 'where clause'". The row is called "type" and the value is "workshop".