Jump to content

Selection for page


erme

Recommended Posts

Hi, I'm basically trying to write something like the below:

 

$uri = "1";

$uri = "2";

 

if ($uri == "1") {

echo 'test 1';

}

 

if ($uri == "2") {

echo 'test 2';

}

 

if ($uri == "3") {

echo 'test 3';

}

 

I will define $uri on every page and I want the php to process what to display on the page, ie test 1, test 2 and/or test 3

Link to comment
https://forums.phpfreaks.com/topic/249863-selection-for-page/
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.