Pick up the next line result

0

Hello! I'm working on a series guide and I'm looking to create a push button, in case when it's clicked, it will go to next episode ...

On the screen there is an advance button that would change the episode. I just want that when I click, I automatically go to the next episode, I made a select but I do not know if it's right.

His url looks like this: profile.html? title = Stranger_Things & episode = 04

Select:

$titulo = $_GET['titulo'];
$episodio = $_GET['episodio'];

$sql = "select * from episodios join series on episodios.mid = series.id where series.titulo='$titulo' and episodios.episodio > '$episodio' order by episodios.episodio DESC limit 1";
    
asked by anonymous 12.01.2018 / 01:47

0 answers