How to insert Forms in a Wordpress Blog
Suppose you want your reader to navigate to some other page querying something through the form. Forms in Wordpress are same as any HTML forms.
Now there can be two cases, first you want to run your own script on your blog. Second you want to query some other server like search engine , wikipedia etc.
For example you want to query IMDB from a form that is inside your post. You should be knowing the query string of the website. Simple HTML form that you need to insert in your posts’ HTML -
<form action="http://www.imdb.com/find" >
<input value="" name="q" />
<input value="submit" type="submit" />
</form>
Action can be replaced as per your requirement. For Google action string would be http://www.google.com/search and so on for other sites.
For the other case you need to have your php or other script on your server. According to your needs you can take the required input and action string in this case could be like http://www.yourdomain.com/query.php
Just make sure that you insert all your form code in HTML and not in the actual post.
