Php > Miscellaneous
Function - Show Database Table
Function - Show Database Table
"; # Make the row for table column names while (list($key, $value) = each($row)) { $i++; if(!($i%2)) echo "
$key
"; } echo "
"; $result=mysql_query($sqlQuery); // Make rows for records while($rec=mysql_fetch_array($result)) { echo "
"; for($i=0;$i
$rec[$i]"; } echo "
"; } echo ""; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage