JohnMPHP Posted February 17, 2015 Share Posted February 17, 2015 Hello I am a desktop / database programmer. I wish to write a program to read data from a database and populate a combobox in an html page. I have read that PHP can do this. Is this correct? I would prefer not to have to use a web server since this is a local app and there will be one page and it will be static excpet for a few selection criteria (like a combobox). All the examples I see are for web pages. If this can be done can someone point me in the right direction? Thanks JM Link to comment https://forums.phpfreaks.com/topic/294668-can-i-use-sql-server-with-php-html-locally/ Share on other sites More sharing options...
JohnMPHP Posted February 17, 2015 Author Share Posted February 17, 2015 Does anyone know how to install PHP? I download a couple of installations and no exe will run. They are looking for a microsoft library MSVCR110.dll. I tried a test but it does not work. <!DOCTYPE html><html><body><?phpecho "My first PHP script!";?></body></html> Link to comment https://forums.phpfreaks.com/topic/294668-can-i-use-sql-server-with-php-html-locally/#findComment-1505934 Share on other sites More sharing options...
CroNiX Posted February 17, 2015 Share Posted February 17, 2015 Look into WAMP, which will install Apache/Mysql/PHP on a windows system and set everything up to run together. You will need a webserver running locally to process the php scripts. It doesn't have to be a remote server. You DONT need a webserver if you are executing the php scripts via the command line, but most likely you'd want to be using a browser to access the page since you want to generate <select> form elements (combobox as you referred to it). Link to comment https://forums.phpfreaks.com/topic/294668-can-i-use-sql-server-with-php-html-locally/#findComment-1505948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.