Changeset 4650 for temp/trunk/html/test


Ignore:
Timestamp:
2006/09/12 19:41:43 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/kakinaka/mysql.php

    r4649 r4650  
    44print("start"); 
    55 
    6 $db = DB::connect("mysql://eccube_db_user:[email protected]/eccube_db"); 
     6$dsn = "mysql://eccube_db_user:[email protected]/eccube_db"; 
     7if(($db = DB::connect($dsn)) == 0){ 
     8  print "¤ª¤ª¤Ã¤È¡ª¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÀܳ¤Ç¤­¤Þ¤»¤ó¡£"; 
     9} 
     10 
    711$result = $db->query("select * from test"); 
    812while($row = $result->fetchRow()){ 
Note: See TracChangeset for help on using the changeset viewer.