I have a page index.php where I want to include a file thumb.php
In thumb.php there is an image variable.... i-e.
$img . ".jpg"
Can I include same thumb.php with different variables that each time thumb.php is called the file return image according to the variable.
For example;
include('includes/thumb.php?id=4');
this will include thumb.php and image will be 4.jpg
include('includes/thumb.php?id=5');
this will include thumb.php and image will be 5.jpg