Jump to content

Can I use SQL Server with PHP / HTML locally


Recommended Posts



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?




Link to comment
Share on other sites

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>

echo "My first PHP script!";



Link to comment
Share on other sites

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
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.