Click here to Skip to main content
15,893,368 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello i have 1 php file saved into wamp server localhost.Into that file i fill a mysql server table with database. When i open it through wamp server localhost it opens perfect. How can i open it through html page too?

What I have tried:

I have tried save a file into localhost named .htaccess with some code inside and open the php file through html but didnt work too..
Posted
Comments
Mohibur Rashid 16-Jun-16 19:16pm    
Are you following any tutorial?
Sergey Alexandrovich Kryukov 16-Jun-16 20:28pm    
Not clear. There is no such thing as "open PHP file", unless you simply edit it. This is not how PHP or other server-side technology work. A PHP file can be the URL, exactly as any other. Is that your concern?
—SA
Tushar sangani 17-Jun-16 2:46am    
you also open html page in wamp server?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900