make class greater
This commit is contained in:
parent
080f281cd1
commit
d7bb9a89c5
6
test.php
6
test.php
@ -30,9 +30,9 @@ while ($row = $result->fetch_assoc()) {
|
||||
$iteminfo[] = new ShopItem($row);
|
||||
}
|
||||
|
||||
//while ($row = $result2->fetch_assoc()) {
|
||||
// $iteminfo[] = new InventoryItem($row);
|
||||
//}
|
||||
while ($row = $result2->fetch_assoc()) {
|
||||
$iteminfo[] = new InventoryItem($row);
|
||||
}
|
||||
|
||||
echo "<table width='100%'>";
|
||||
foreach ($iteminfo as $ii) {
|
||||
|
Loading…
Reference in New Issue
Block a user