SyntaxFix
Write A Post
Hire A Developer
Questions
I use inline if's
($_POST['category'] == $data['id'] ? 'selected="selected"' : false)