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