Amit pampaniya

Amit pampaniya

  • NA
  • 9
  • 21.8k

Warning: mysqli_query() expects at least 2 parameters, 1 giv

Jan 29 2018 3:14 AM
i m geting this error please help me what is solution following is my code
 
<?php
require_once "connect.php";
$selectd ="select * from query";
$result=mysqli_query($selectd);
echo "<marquee direction='up' onmouseover='javascript:stop();' onmouseout='javascript:start();'>";
while($row=mysqli_fetch_array($result))
{
echo $row[1];
echo "<br><img src='admin/advertisment_images/".$row['image']."' height=400 weight=200> <hr>";
}
echo "</marquee>";
?>

Answers (1)