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