Hi , I am new to php and i have a question . I tried searching for answers but couldnt find any .
My Problem :
I have a variable $itemcode and a product.php
say $itemcode = 5 ,
if using the url method of passing variable , it would be
http://www.site.com/product.php?itemcode=5
and i also learned that if i want to use another php file withinone,
the code will be simply :
<?php include("product.php") ; ?>
Apparently , <?php include("product.php?itemcode=5") ; ?> does not work .
My question is that if there is any way i can "combine" these 2 . I mean which i can pass $itemcode = 5 while executing the product.php . Thanks .