Hi, i got this error. Please help.
Fatal error: Call to undefined function mysqli_list_fields()
This is my code,
<?php
include 'dbFunctions';
$fields = mysqli_list_fields("fyp", "criteria", $link);
$columns = mysqli_num_fields($fields);
?>
<form method="post" action="doSelectCriteria.php">;
<select name = criteria>;
<?php
for ($i = 0; $i < $columns; $i++) {
echo "<option value='".mysqli_field_name($fields, $i)."'>";
echo mysqli_field_name($fields, $i);
}
echo "</select>";
?>
<input name="btnsubmit" value="Submit" type="submit"></p>;
</form>