الفصل الخامس
Databases found - Microsoft Intern.
File Edit View
Favorites Tools Help
Stop Refresh
Back
Address
http://localhost/test/p5/p
List of databases:
1: data01,
2: mydata,
3: mysql,
4: products,
5: student, 6: test,
1 Done
g Local Intranet
Home
DIX
قواعد البيانات
Go Links"
مثال : استعراض جداول قاعدة بيانات :
<HTML>
<HEAD>
<TITLE> Database Tables </TITLE>
</HEAD>
<BODY>
<?php
$link1=mysql_connect ("localhost", "root", "");
// List of database Tables
$dbase02 = mysql_list_tables (products); // Print List of database Tables
while ($L1=mysql_fetch_row ($dbase02))
{
print ($L1 [0].", ") ;
}
?>
</BODY> </HTML>
۱۸۰
ص ١٨٠