Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

1 Answer 1

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.