include multiple pages
Posted: Sun Apr 24, 2011 9:05 am
HY
I have index.php and pictures.php.
In index.php I have 3 columns:
- left (for menu)
- right (for advertising)
- center (where I want to include pictures.php)
What is the best way to include pictures.php in center of index.php
I ask this because I have multiple variable like "pictures" and I will have multiple "If".
Or to include in DB all this variables "pictures" and just add ".php" extension. It is secure in this way ?
Thanks
I have index.php and pictures.php.
In index.php I have 3 columns:
- left (for menu)
- right (for advertising)
- center (where I want to include pictures.php)
What is the best way to include pictures.php in center of index.php
Code: Select all
if($_get[pictures]){
include ("pictures.php");
}
Or to include in DB all this variables "pictures" and just add ".php" extension. It is secure in this way ?
Thanks