0

what the heck is include($page.php)

Can someone tells whats is this and what it is doing, it confuses me, thanks in advance.

28th Aug 2016, 4:29 PM
john chagaz
john chagaz - avatar
1 Odpowiedź
0
It just takes what u have written down in d "$page. Php" and adds it to ur current page you are coding. You don't need to keep typing the codes all over again. It's a smart and helpful way of typing and it saves you time and effort. An example is when u have to add a footer or header to numerous pages of ur website. Rather than retyping or copying and pasting the header or footer codes. U could just create a page called header or footer and type in d codes and call in d the other pages of ur website. You work needs neater that way. Hope I could help.
29th Aug 2016, 6:31 AM
Raphael
Raphael - avatar