لغة PHP — الصفحة ١٩٥

قواعد البيانات 1. الفصل الخامس $num_results = mysql_num_rows($result); echo "<p>Number of books found: ".$num_results."</p>"; for ($i=0; $i <$num_results; $i++) { $row = mysql_fetch_array($result); echo "<p><strong>".($i+1).". Title: "; echo stripslashes($row["title"]); echo "</strong><br>Author: "; echo stripslashes($row["author"]); echo "<br>ISBN: "; echo stripslashes($row["isbn"]); echo "<br>Price: "; echo stripslashes($row["price"]); echo "</p>"; } ?> </BODY> </HTML> 190 النتيجة عند تشغيل البرنامج ستكون :
ص ١٩٥

النص مستخرج آليًّا من صور الكتاب، وقد يقع فيه خطأ.