In that case go to file "httpd.conf" in apache and add that code in line 387 aprox, where this is: AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 <HERE> Regards ________________________________________________ Hello, Thanks, I am using WAMP 5, and have checked Apache version in 2.2.6 Thanks, Avi --- In php-objects@xxxxxxxxxxxxxxx <mailto:php-objects%40yahoogroups.com> , "Jean Carlo" <jsalas@...> wrote: > > You just insert this code in your .htaccess file in your server > > > > AddType application/x-httpd-php .htm > > AddType application/x-httpd-php .html > > > > This just in case that you'r running a apache server. > > Regards > > ___________________________________________________ > > OR write your PHP in such a manner as IT generates the HTML > > http://us2.php.net/manual/en/function.mysql-db-query.php > > --- In php-objects@xxxxxxxxxxxxxxx <mailto:php-objects%40yahoogroups.com> <mailto:php-objects%40yahoogroups.com> , > "Brian H" <brianh781@> wrote: > > > > Use mod_rewrite in Apache to make it look like it's an HTML file, even > > though it's really a PHP file. > > > > On Wed, Jan 7, 2009 at 4:58 PM, arvindsri123 <arvindsri123@> wrote: > > > > > Hi All, > > > > > > I have a database, and a php file when i run select query, i want all > > > the data should come on a HTML page, not in php file. > > > > > > Any help please... > > > > > > Thanks, > > > Avi > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.5/1881 - Release Date: 1/8/2009 > 8:13 AM > > > > [Non-text portions of this message have been removed] > No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.5/1881 - Release Date: 1/8/2009 8:13 AM [Non-text portions of this message have been removed]