source: temp/trunk/html/test/kakinaka/mysql.php @ 4649

Revision 4649, 275 bytes checked in by kakinaka, 20 years ago (diff)

blank

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2include("./DB.php"); // PEAR ¤Î DB ¥¯¥é¥¹¤òÆÉ¤ß¹þ¤à
3
4print("start");
5
6$db = DB::connect("mysql://eccube_db_user:[email protected]/eccube_db");
7$result = $db->query("select * from test");
8while($row = $result->fetchRow()){
9    print_r($row);
10}
11
12print("end");
13
14?>
Note: See TracBrowser for help on using the repository browser.