hello guy im trying to create a video playlist similar to youtube or thenewboston playlist.
my problem is how do i create the result of the second value in my url
this is how the url look like when you click on a category (http://localhost/codeplus/watch.php?cat=2)
then all the links related to this category are displayed at the bottom but when i click on the bottom link i get this (http://localhost/codeplus/watch.php?cat=2&video=1) but i dont know how to get the retunr value from the &video=1 part to display please help and thank you
I need help creating a video playlist like youtube or thenewboston
Post a Reply
|Oldest Newest Rating|
· September 28, 2016
Try this $_GET['video'] and $_GET['cat']. Learn mor about GET and POST methods.
· September 29, 2016
If $_GET['cat'] was already used once, I would imagine the user understand the usage of $_GET.
I'm wondering if this is an issue with the way the code is structured. A code sample and or more information from the OP would help.
· October 14, 2016
thank you mate