Error:
Notice: Use of undefined constant row - assumed 'row'
Relevant Code [PHP]:
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
echo BuildDisplay($row['name'], $row['price'], row['link'], $sc);
if ($sc = 4) {
$sc = 1;
} else {
$sc = ($sc + 1);
}
}
} else {
echo "No Products Available!
";
}
No comments:
Post a Comment