Hi
Couple of small questions...
1.
I have about six buttons but I need one to link to a php include file... how do i do this???
I tried
<td align="left" valign="top" ><a href="<? include 'about.inc.php' ?>" target="_self"><img src="aboutus.gif" alt="Click here to view" width="143" height="35" border="0"></a></td>
But it just showed the contents of the include file underneath the previous button in the table...
Any ideas?
Also any ideas to my other hyperlink query post?
2.
Also, say a php file carries out a action like updating the database, you have a echo at the end once the update has occured confirming that it was successful.
I want to put it into another php file, eg. a successful comment in index, how do I do this?
I tried the echo before the include statement, but it put the comment above the page information rather then in the middle of it.
eg.
<?PHP
echo "<br>Update complete.\n
<br><br>
Here are the products.<br><br>";
include 'products.php';
?>
How do I get it to go to another page after its processed the info of the inc file, and put the confirm message (echo code in inc file) to another page.
At the moment I basically have to put the entire contents of the site on the processing page so that its not just a blank page with a confirmation message.