Query Tags From Text Form
-
Hi, First of all, I’d like to thank everyone in advance for taking the time to read this, and hopefully help me out.
I have a form with 2 fields:
<form action="https://www.mysite.com/blah" method="post"> <input type="text" name="VST1" id="VST1" /><input type="text" name="VST2" id="VST2" /> <input type="submit" value="ok"/> </form>
I’d LIKE to create a function that:
- fetches the two values from the form (VST1 & VST2)
- query posts to see if any have these 2 exact values as tags
- if post exists with these two tags, it exits function and displays post
- if post with tags does not exist, it exits and displays another url
Any help with putting together this function/query would be greatly appreciated.
Thanks!
- The topic ‘Query Tags From Text Form’ is closed to new replies.