About Php

Can i make website only using the PHP Code ?

Comments 5

  • Hi,
    You would be best to use a combination of php with html, css and javascript.
    If it is a one page site. Then go with html, css and javascript.

    I tend to use php if I need to use a database or forms.

    Goodl luck.

  • php+mysql+html+css+jquery is the best combo for making website. PHP alone like an engine without body.

  • PHP is a server-side script that executes on a server in the "cloud" to do useful stuff like manipulate and store/retrieve data from a database. Websites are (normally) viewed in a browser. Browsers render things client-side (ie. on your computer) Browsers understand HTML, CSS, Javascript and use that code to render the website in the browser window, so normally you will require to use HTML at least if you want to display a formatted page.
    As previously mentioned, you can output plain text from PHP so you could just use only PHP for a website, but it would not look very nice, and there would be no on page functionality at all. Not even basic stuff like clickable links. Just text.