I have 2 query's that i want to execute in an HTML table.
Here is my code:
$query= "SELECT Naam , Nummer , Type , Inkoopprijs FROM palenpanelen WHERE Hoogte='" . $hoogtes . "'";
$query.="SELECT Naam, Nummer , Type , Inkoopprijs FROM palenpanelen WHERE Hoogte='" . $benodigdepaal ."'";
/* execute multi query */
if (mysqli_multi_query($conn, $query))
{
do
{
/* store first result set */
if ($result = mysqli_store_result($conn))
{
while ($row = mysqli_fetch_row($result))
{
dump($row);
}
mysqli_free_result($result);
}
/* print divider */
if (mysqli_more_results($conn))
{
printf("-----------------\n");
}
} while (mysqli_next_result($conn));
die;
}else{echo mysqli_errno($conn);}
Now it puts an error on my screen: 1064 i searched on the internet but could not find an solution. Thanks.