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

Revision 4599, 236 bytes checked in by kakinaka, 20 years ago (diff)

* empty log message *

  • 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
4$db = DB::connect("mysql://¥Ç¡¼¥¿¥Ù¡¼¥¹¥æ¡¼¥¶:¥Ñ¥¹¥ï¡¼¥É@localhost/test");
5$result = $db->query("select * from test");
6while($row = $result->fetchRow()){
7    print_r($row);
8}
9
10?>
Note: See TracBrowser for help on using the repository browser.