Jump to content

change words once <a href> clicked


robert_gsfame

Recommended Posts

This could potentially be a JavaScript request.

 

BUT you can do this in PHP

 

set a variable like $_GET['checkall']. This variable will equal either 1 (for true) or 0 (for false)

 

if($_GET['checkall'] == 1)

echo '<a href="?checkall=0">Uncheck All</a>';

else

echo '<a href="?checkall=1">Check All</a>';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.