Posts Tagged ‘tag’
Any way to invoke a php script besides user clicking a button on a form?
The only way I know to run a php script is to put the name of the script in a <form action=""> tag. Are there any other options?
I have a situation where I would like to start a php script without relying on the user to press a button. I tried putting php code in a .html file, but when I load the file from the server it doesn’t execute any php.
Thanks,
Houyhnhnm
How to include elements from different webpages using PHP or JavaScript to my home page?
I have a homepage (MyHome.php). On the homepage, I’d like to display the latest 3 posts from another page (Post.php). For example. I want to include the first 3 <h1> tags from Post.php into a <div> tag on MyHome.php. Is it possible to do this?