I’m a HUGE php newbie that is learning quick but I have a question. I know <?php include("input-file-name.html");?> will pull all information from an external file but is there a simple way to pull a piece of information from within the same file.
I have a product page that contains multiple links to the manufacture and/or retailer site. When I make a new product or need to change the links I have to change 3-5 links for every page. If possible I would like to assign a link at the top of the product page and then the other 3-5 links pull from that one link. Then I only need to update one spot and the other 3-5 links will get the same link.
Is this possible?? If php doesn’t do this what other methods can. Can someone please help me with this.
Thanks in advance!!