Update fetchrow.php
This commit is contained in:
+5
-5
@@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
while ($row = $result->fetch(PDO::FETCH_BOTH)) // Style of fetch
|
while ($row = $result->fetch(PDO::FETCH_BOTH)) // Style of fetch
|
||||||
{
|
{
|
||||||
echo 'Author: ' . htmlspecialchars($row['author']) . "<br>";
|
echo 'Author: ' . htmlspecialchars($row['author']) . "<br>";
|
||||||
echo 'Title: ' . htmlspecialchars($row['title']) . "<br>";
|
echo 'Title: ' . htmlspecialchars($row['title']) . "<br>";
|
||||||
echo 'Category: ' . htmlspecialchars($row['categoryr']) . "<br>";
|
echo 'Category: ' . htmlspecialchars($row['category']) . "<br>";
|
||||||
echo 'Year: ' . htmlspecialchars($row['year']) . "<br>";
|
echo 'Year: ' . htmlspecialchars($row['year']) . "<br>";
|
||||||
echo 'ISBN: ' . htmlspecialchars($row['isbn']) . "<br><br>";
|
echo 'ISBN: ' . htmlspecialchars($row['isbn']) . "<br><br>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user