Hello, I am new in the forum. Want to make a site by using PHP. I have few experience about HTML CSS Now I want to make a site with php. Some design will have with html css. How can I make it more attractive please suggest me... Thanks
If you want more attractive website u can use JavaScript and jQuery. PHP is for back-end (working with data, connect to database...) You can learn all of that on www.codecademy.com... good luck
PHP is not a presentation language - It is not designed to make your site LOOK better, rather FUNCTION better. PHP can help you add dynamic pages and preprocessed data into your HTML code - PHP does stand for PHP: Hypertext Processor. This of course indicates it's function is to process hypertext, there are no design features built into the language. If you want to improve the way your page looks, you should take a look at jQuery and possibly JavaScript as they can help you add more presentation-y elements on your page, although try to steer clear of bloat.
in a way, to make a simple php site, you take a html file, and rename it to be filename.php now that it has the extension of .php, you can put in a little php code. i am not an expert, but here is something that i found useful. in your html files, sometimes you have footer links, or navigation links, or even ad spots that you want to be synchronized across many pages of your site. what you can do is take your completed html file, cut out the html code for say the footer links and paste into a file called "footer.php" now to pull that into your html file, use: <?php include 'footer.php'; ?> Code (markup): (you paste this for where you want the footer code to appear.) now on your webserver, it will display as a normal html file. to find out more, view: http://www.w3schools.com/php/php_includes.asp to view php code locally, you will need to install xampp, dont worry its free and works on windows and linux. This little trick is hardly special, but i figured that it is something that you can use now. I have a 50 page "html" site, and I use coding such as this to simplify updating navigation areas, or even a notice box / sidebox, or even for maintaining advertising code. Hope this helps!
Is your website is static website? If, yes then Why you looking PHP? Or do you want to add some dynamic functionality into your website?
PHP is not for design, it's more of programming the back-end of the website. You can use Javascript/JQuery if you want to make your site look better.