http://brushost.com/
<html> <head> <title>Selecting Data</title> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-9″ /> </head> <body> <?php include(“baglan.php”); ?> <?php mysql_connect($hostaneme,$username,$password ); $result = mysql_query( “SELECT marka FROM tnm_aracmarka WHERE marka LIKE ‘A%'” ); $num_rows = mysql_num_rows( $result ); print “<table>”; while ( $a_row = mysql_fetch_row( $result ) ) { print “<tr>”; foreach ( $a_row as $field ) { print … Read More “Listing All Rows and Fields in a Table Php” »
<?php include(“baglan.php”); $query = “drop table if exists deneme”; $result = mysql_query ($query) or die (“Sorgu başarısız.”); ?>
<html> <head> <title> veritabanı, tablo ve alan Listeleme</title> </head> <body> <?php include(“baglan.php”); ?> <?php $link = mysql_connect($hostaneme,$username, $password ); if ( ! $link ) die( “MySQL bağlantısı kurulamadı” ); $db_res = mysql_list_dbs( $link ); while ( $db_rows = mysql_fetch_row( $db_res ) ) { print “<b>$db_rows[0]</b>\n”; if ( !@mysql_select_db( $db_rows[0], $link ) ) { print “<dl><dd> … Read More “List Database, Table, and Field Php” »
<?php $hostaneme = “127.0.0.1”; $username = “root”; $password = “root”; $connection = mysql_connect($hostaneme,$username,$password); if(!$connection) { die (“Sunucusu ile bağlantı kurulamadı!”); } $result = mysql_select_db(“test”); if(!$result) { die(“veritabanı seçilmedi”); } echo “Veritabanı test kullanıma hazır.”; ?>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <title></title> </head> <body> <?php mysql_connect(“localhost”,”root”,”root”); $dbs = mysql_list_dbs(); echo “Veri Tabalnları: <br />”; while (list($db) = mysql_fetch_row($dbs)) { echo “$db <br />”; } ?> ——————————>Or <?php $set = mysql_query(‘SHOW DATABASES;’); $dbs = array(); while($db = mysql_fetch_row($set)) $dbs[] = $db[0]; echo implode(‘<br/>’, $dbs); ?> </body> </html>
TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, TimeZoneInfo.FindSystemTimeZoneById(“Turkey Standard Time”))