Dinamize the content with PHP

One way to do more dinamyc our pages, write less code and simplifying the architecture of the files is using PHP. You can use CSS3 to make the web coolest than others, but the content can be dinamized linking many files. Imagine that you have a master ‘index.php’ with a space to include the content. You […]


Insert a file with PHP

There are situations in wich we want to edit separately the content of a website instead to edit all in one file. <?php include ‘FILE.inc’; ?> For me it’s more comfortable edit the files in parts. We can make a file like this: <!DOCTYPE html> <html> <head> <?php include ‘head.inc’; ?> </head> <body> <?php include ‘body.inc’; ?> […]