Cono crear link dinamico
Publicado por Alex120ww (2 intervenciones) el 08/01/2021 04:40:07
Como se crea uno de estos enlaces dinámicos, para distintas url?
http://www.dominio.com/go?id=100
http://www.dominio.com/go?id=100
Valora esta pregunta


0
switch($_GET['id']){
case 1:
url='pagina1.php';
break;
case 2:
url='pagina2.php';
break;
...
default:
url='index.php';
}
header("location: $url");