Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Accessing the $_POST array

$
0
0

Replies: 0

What I want to do, is on a list page after you have returned search results simply access the “search_field” and “value” values to construct a filter URL

I’ve modified a list template to add a URL link which will be displayed after a search has been submitted the link will contain two values the “search_field” value and the “value” field value.

I thought Id work this out but I just cant seem to get the $_POST array

I cant even dump the array

how should I access the “search_field” value and the “value” field value please?
$_POST[‘search_field’]; returns nothing.

Regards Guy

  • This topic was modified 34 minutes ago by gbambury.

Viewing all articles
Browse latest Browse all 59525

Trending Articles