I have the following line of code:
include ('Location: description.php?prod_id=$product_id');
but I receive the error:
Warning: main(Location: description.php?prod_id=$product_id): failed to open stream: No such file or directory
I think it is obvious to see what I am trying to do - open a new file with the contents varying upon the contents of prod_id.
Please can anyone let me know how I should achieve this. I'm still new to all this.
Many Thanks!
include ('Location: description.php?prod_id=$product_id');
but I receive the error:
Warning: main(Location: description.php?prod_id=$product_id): failed to open stream: No such file or directory
I think it is obvious to see what I am trying to do - open a new file with the contents varying upon the contents of prod_id.
Please can anyone let me know how I should achieve this. I'm still new to all this.
Many Thanks!