php - How to use query strings -


i have php file json here , want use query string @ end of url find comment id 1 example. think should this:

http://wowsk.org/comments/comments.php?id=1

this not work though , don't know doing wrong. have never worked query strings can't understand right away solution is.

thanks help!

in comments.php file, should value in $_request['id'], , include value in sql query (if using sql database). don't forget sql injection, @ least use intval() on id fields.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -