I was wondering if PHP can perform a function when a link, button, or something is pressed...
Heres what I want todo...
Heres the HTML page code *its still in development stages but who really cares...*
PHP Code:
<html>
<head>
<!-- Style Stuff -->
</head>
<body>
<table>
<tr>
<td>Menu:
<ul class="menu">
<li><a href="Tutorial/1/Introduction/" target="phpincludediv">Intro to PHP</li>
<li><a href="Tutorial/2/Introduction/" target="phpincludediv">What you need to run PHP</li>
...
</ul></td>
<td>Tutorial Below:
<?php
//Stuff here that says:
//If link going to or named "url/blank" then do this...
include("Tutorial/1/Introduction/index.php");
//Else
include("News/new.php");
?>
</td>
</tr>
</table>
</body>
</html>
Bookmarks