php call function
I have this website and i have a few php scripts on it
I also have an html page that links to the other php scripts
What i want to do is have a php function that can call a file or a set of codes that would display a particular section onto that html page.
For example, i have a recipe script and it would display the more recent recipe, i want a code or something that can pull that information from that page
Store your information in a text file already formatted with your html tags.
Use the readfile() function, this function reads a file and outputs it to the output buffer.
Documentation here ;
I'll give it a try