PHP Notes 8
PHPNotes 8 Lakshman Gupta 9:48 AM 10/8/2019 PHP Notes 8 Lakshman Gupta PHP Tutorial reset($user); // Rewind for the next foreach foreach ($fields as $field) { print " <th>$field</th>\n"; } print " </tr>\n"; $header_printed = true; } // end of print header. // Output data in the record retrieved. print "\t<tr>\n"; foreach ($user as $col_value) { print "\t\t<td>$col_value</td>\n"; } print "\t</tr>\n"; } print "</table>\n"; mysql_free_result($qno); // Free resultset. mysql_close($dblink); // Close connection. ?> Communication with Other Databases Unlike other scripting languages for Web page development, PHP is open-source, cross-platform, and offers excellent connectivity to most of today's common databases including Oracle, Sybase, MySQL, ODBC (and others). PHP also offers integration with various external libraries which enable the developer ...