 |
|
|
 |
 |
|
ไม่มีครายช่วยเค้าเลยเหรอเนี๊ย
|
 |
 |
 |
 |
Date :
2011-08-31 22:53:47 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แนวทางนะครับ ไปห้องสมุดครับ แล้วค้นงานเก่า ของรุ่นพี่มาดูเป็นตัุวอย่างครับ รับรองมีแน่นอนครับ ยืมคืนคงมีเป็นกระสอบ
|
 |
 |
 |
 |
Date :
2011-08-31 23:04:29 |
By :
ikikkok |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เหมือนจะเคยมีคนเอามาปล่อยในนี้นะค่ะ ลองค้นหาดู เป็นเว็บยืม - คืน อุปกรณ์กีฬาอ่ะค่ะ
|
 |
 |
 |
 |
Date :
2011-09-01 01:49:59 |
By :
modzaa07 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุนสำหรับคำแนะนำของทุกคนน่ะค่ะ
|
 |
 |
 |
 |
Date :
2011-09-01 15:22:33 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองไปหาดูของรุ่นพี่ในห้องสมุดแล้วล่ะค่ะ แต่ไม่มี
|
 |
 |
 |
 |
Date :
2011-09-01 15:23:43 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ห้องสมุดไม่มีเอกสารโปรเจค 
ถ้างั้นก็เอาตามพี่วินบอก No. 4 ไปลองหรับดู
|
 |
 |
 |
 |
Date :
2011-09-01 15:38:11 |
By :
ikikkok |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
พี่โหลดไฟล์ระบบห้องสมุดมาแล้ว แต่ระบบเข้าไม่ได้ค่ะ ขึ้น Error ต้องมีการแก้ตรงไฟล์ไหนก่อนค่ะถึงจะเข้าใช้ระบบได้นอกจากไฟล์ connect
|
 |
 |
 |
 |
Date :
2011-09-01 16:35:33 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
พี่ๆค่ะตอบหนูหน่อย
|
 |
 |
 |
 |
Date :
2011-09-01 17:04:36 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
error ว่าอะไรบอกด้วยซิครับ
|
 |
 |
 |
 |
Date :
2011-09-01 22:47:50 |
By :
ikikkok |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Fatal error: Call to undefined method DB::Error() in C:\AppServ\www\repair\includes\db\mysql.php on line 87
|
 |
 |
 |
 |
Date :
2011-09-02 14:03:21 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
<?php
//============================================
// THAISMEONLINE
// Autor : METHEE LAHUNGPECH
// Date : 17-10-2007, 11:50:00
//============================================
class DB_Result
{
var $_result;
function DB_Result($result)
{
$this->_result = $result;
}
function FetchArray()
{
return mysql_fetch_array($this->_result);
}
function dataseek($row) {
return @mysql_data_seek($this->_result,$row);
}
function fetchrow_assoc() {
return mysql_fetch_assoc($this->_result);
}
function FetchAssoc()
{
return mysql_fetch_assoc($this->_result);
}
function FetchObject()
{
return mysql_fetch_object($this->_result);
}
function FetchRow()
{
return @mysql_fetch_object($this->_result);
}
function NumRows()
{
return @mysql_num_rows($this->_result);
}
function NumFields()
{
return mysql_num_fields($this->_result);
}
function FieldName($i)
{
return mysql_field_name($this->_result, $i);
}
function close()
{
$r = @mysql_free_result($this->_result);
unset($this);
return $r;
}
}
class DB{
var $_handle;
function DB($host, $user, $pass, $db)
{
$this->_handle = @mysql_connect($host, $user, $pass);
if(!$this->_handle)
{
$this->Error('connect');
return false;
}
@mysql_query("SET NAMES tis620")or die( "Query ล้มเหลวเพราะ : ". mysql_error() );
if(!@mysql_select_db($db, $this->_handle))
{
$this->Error('selectdb'); // Error บรรทัดนี้ค่ะ
return false;
}
return true;
}
function Query($query)
{
//echo $query;
$res = @mysql_query($query, $this->_handle);
if(!$res)
{
echo $query;
//echo "กรุณากลับมาใหม่ในอีก 30 นาที";
//exit;
$this->Error('query', $query);
}
return new DB_Result($res);
}
function Disconnect()
{
mysql_close($this->_handle);
}
}
?>
|
 |
 |
 |
 |
Date :
2011-09-02 14:05:49 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอนนี้แก้ได้แระคะ
|
 |
 |
 |
 |
Date :
2011-09-02 18:42:58 |
By :
nooaoy |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|