Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use dynamic routes. #28

Closed
Alonso-Cauich opened this issue Jul 8, 2022 · 2 comments
Closed

How to use dynamic routes. #28

Alonso-Cauich opened this issue Jul 8, 2022 · 2 comments

Comments

@Alonso-Cauich
Copy link

How do I retrieve the value in the file?.

Example
STANDARD-URL: item.php?size=10

In the file php, I can print them like this.

DYNAMIC-URL: get('/item/size/$size', 'views/item.php');
¿How can I see the value now?


¿Cómo recupero el valor en el archivo?

Ejemplo
URL ESTÁNDAR: item.php?size=10
En el archivo php, puedo imprimirlos así.

URL DINÁMICA: get('/item/size/$size', 'views/item.php');
¿Cómo puedo ver el valor ahora?

@VRXT
Copy link

VRXT commented Jul 8, 2022

Hello @Alonso-Cauich it’s become variable

example

<php?
echo $size;
?>

@Alonso-Cauich
Copy link
Author

@VRXT Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants