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:
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
Post a Comment