this is my http://localhost/abc/read_story.php?story_id=3' page and i want to protect from sql injection. How is possible?
I want display above url like this http://localhost/abc/read_story/3.
I also try using .htaccess but not worked. my .htaccess code is follow:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^read_story/([0-9a-zA-Z]+).html http://localhost/abc/read_story.php?story_id=$1 [QSA,L]