لغة PHP — الصفحة ١٨١

قواعد البيانات <HTML> <HEAD> Database Tables - Microsoft I... File Edit View Favorites Tools Help Back Address Stop Refresh http://localhost/tes Go Links price, stock, Done Local intranet الفصل الخامس مثال : استعراض حقول جدول قاعدة بيانات : <TITLE> Database Table Fields </TITLE> </HEAD> <BODY> <?php $link1=mysql_connect ("localhost", "root", ""); // List of database Table Fields Echo "List of database Table Fields: <BR>"; Echo "====== == <BR>"; $dbase03 = mysql_list_fields ("products", "price"); // Print Table fields print ("<TABLE>\n"); print ("<TR>\n"); print ("<TH>Name </TH> \n"); print ("<TH>Type </TH> \n"); print ("<TH>Length </TH> \n"); print ("<TH>Flags </TH> \n"); print ("</TR>\n") ; // Print List of database Table fields 1A1
ص ١٨١

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