I want to generate (or include) a php page by clicking on a link but does not change the page with a link type <a href="#" onclick="XxXx">
I used the Code:
But it does notPHP Code:
onclick = "open (<?php $pge = 'add_com'>)"
<script language="JavaScript">
<!--
function open (url) {
<?php
include ($pge.'.php');
?>
}
// -->
</script>
Bookmarks