At this moment i access my posts like this
http://localhost/post/174565/
and everything works fine, but when i am trying to access them like this
http://localhost/post/1745s65/
i am getting error
Error Number: 1054
Unknown column '1745s65' in 'where clause'
SELECT * FROM posts WHERE id = 1745s65;
Filename: D:\Localhost\Apache\htdocs\code\system\database\DB_driver.php
Line Number: 330
i understand why it is there, but how to handle it? For example my users don't need to see SQL query, and i want to show them 404 page instead of this block.