Changeset 4935 for temp/trunk
- Timestamp:
- 2006/09/17 21:20:55 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/class/SC_Query.php (modified) (1 diff)
-
html/test/kakinaka/mysql.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_Query.php
r4934 r4935 350 350 $sql = "SELECT NEXTVAL('$seqtable')"; 351 351 }else if (DB_TYPE == "mysql") { 352 $sql = "SELECT last_insert_id(); a";352 $sql = "SELECT last_insert_id();"; 353 353 } 354 354 $ret = $this->conn->getOne($sql); -
temp/trunk/html/test/kakinaka/mysql.php
r4775 r4935 108 108 109 109 print("start<br>"); 110 /* 110 111 111 $dsn = "mysql://eccube_db_user:[email protected]/eccube_db"; 112 112 print($dsn."<br>"); … … 115 115 print "¤ª¤ª¤Ã¤È¡ª¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÀܳ¤Ç¤¤Þ¤»¤ó¡£"; 116 116 } 117 $result = $db->query(" select * from dtb_baseinfo");117 $result = $db->query("SELECT last_insert_id();"); 118 118 while($row = $result->fetchRow()){ 119 119 print_r($row); 120 120 } 121 122 */123 121 124 122 $sql = 'select * from vw_products_allclass ';
Note: See TracChangeset
for help on using the changeset viewer.
