Jump to content

make this: example.com/index.php?c=1&d=ok


JOWP

Recommended Posts

Hi, thanks for reply and sorry for my delay,

well i am make this

 

<?php
$cat = $_GET['cat'];
$sub = $_GET['sub'];
	switch ($cat){
		case horse:
		(code to execute)
		switch ($sub) {
			case color:
				(code to execute)
			break;
			default:
		}
	 break;
	 case dog:
	 	(code to execute)
	 break;
	 default:

}
?>

this code have a good perfomance?

 

thanks

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.