sql - MySQL syntax error check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 -


$info_set = mysqli_query($connection, "select * informatie order position asc") or die(mysqli_error($connection));  while ($info = mysqli_fetch_array($info_set)){   echo "<li>{$info["menu"]}</li>"; }  $pagina_set = mysqli_query($connection, "select * paginas, informatie paginas.inf_id = informatie.id") or die(mysqli_error($connection));  echo mysqli_fetch_array($pagina_set); while ($info = mysqli_fetch_array($pagina_set)){   echo "<ul class=\"pages\">";   echo "<li>{$info["menu"]}</li>";   echo "</ul>"; }  ?> 

there error in line:

$pagina_set = mysqli_query($connection, "select * paginas, informatie paginas.inf_id = informatie.id") or die(mysqli_error($connection)); 

after hours of trying still not able find error... :( please help?


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -