Unnamed
public text v1 · immutablefunction getAllIngredients() {
$r = query("SELECT * FROM `ingredients` WHERE 1 ORDER BY `ingredientName` ASC");
$s ="<ul>\n";
while($row = mysql_fetch_row($r)) {
$s += "<li>" . $row[1] . "</li>\n";
}
$s +="</ul>";
echo $s;
}