Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End mysqli_fetch_assoc() expects parameter 1 to be mysqli_result error Re: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result error

#137361
LaurelBrittany
Participant
				while($row=mysql_fetch_assoc($result))
{
echo '<div>ID</div><input style="hidden" name="id" value="'.$id.'"><br/><br/>';
echo '<div>Table</div><input style="hidden" name="table" value="'.$table.'"><br/><br/>';
echo '<div>Title</div><textarea name="title" width="500">'.$row.'</textarea><br/><br/>';
echo '<div>Message</div><textarea name="message" width="500" height="300">'.$row.'</textarea>';
}
Check out this Pen!

I now have this. How would I go about writing a code that would work. I got this code from my school and it doesn’t seem to work.