WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
WordPress and $_GET Params

I developing plugin in which i receive the value from query string against specific product and show the result please tell any idea or suggestion .

like" http://localhost/business/?product_id=5"

share|improve this question

marked as duplicate by Stephen Harris, kaiser, toscho Apr 24 '12 at 11:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I'm afraid I don't understand exactly what the problem is so I guess you want just add *product_id* as a query var:

function my_add_query_vars( $qv = array() ) {
    $qv[] = 'product_id';
    return $qv;
add_filter( 'query_vars', 'my_add_query_vars' );
share|improve this answer
Thanks realloc for answer. i am new in wordpress and i view the data from the table on user side – Ahmed Awan Apr 24 '12 at 9:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.