Hi

My php page will have links okay

I need to know how when a link is clicked for the php page to reappear with the include file but not automatically

I want the Include file only on click not include automatically...

I have it like this and it keeps including automatically....


<a href="http://www.puddinpatchdatematch.com/open.php<?include 'opener.inc'?>">Profiles</a>


PLZ Can you tell me how to correct this... Hours wasted PLZ Help!!!!

You will have to reload the page or use AJAX. To reload the page do something like this:

<a href="http://www.puddinpatchdatematch.com/open.php&inc=opener.inc">Profiles</a>

Then on the next page:

if( $_GET === "opener.inc") { include('opener.inc'); }

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.