Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
I am bit confused, that i visited most sites and seen that their url include like [domain.com...]
and they excute the query well.
I just want to know how we can create such type of queries using HTML language.
I know most of the people also want to know this theory.
AddHandler application/x-httpd-php .html
It is not a good idea to do so if the majority of your .html pages are true static content, but if most of your site is dynamically-generated, it can make sense. It removes the technology identifier from your URLs and means that you can more easily alter the underlying language and keep the same URL structure. I generally use .htm everywhere even if my pages are almost always generated with PHP.
Just because a page has an .htm or .html extension doesn't mean that what you're actually looking at is actually a HTML page, a lot of the time the webserver has just been setup to make it look that way for the sake of simplicity.
There are lots of ways to learn PHP if that's the route you want to take, I'm sure the PHP forum [webmasterworld.com] here has advice on more than a few of them in its library section [webmasterworld.com].
or if you just want to get dynamic functionality in apparently static looking pages then "what encyclo said" :)