Jump to content

[SOLVED] Simple Question...


PGTibs

Recommended Posts

Sorry for this simple question but i can't find the answer...

 

I have a webpage and on a link click i want the content to change so i set it up with

 

$action = $_GET["action"];

if ($action == "1") {

echo "portfolio";

}

 

however, $_GET is for forms, this is just meant to be $action = when link pressed

 

Whats the command for this?

Link to comment
https://forums.phpfreaks.com/topic/145309-solved-simple-question/
Share on other sites

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.