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"


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' );
  • 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.