카테고리
자주찾기
이글루 파인더
태그
eclipse
safari
JDBC
phpmyadmin
utf8
여러분이거다거짓말인거아시죠
apache
Ubuntu7.10
JFace
xampp
wifi
linux
Sis760
flv
모질라커뮤니티연말모임
드라이버
뿌뿌뿡
mysql5
큐브
character-set
web
인코딩
최근 등록된 덧글
최근 등록된 트랙백
Free nokia ringtones.
by Ringtones.
Instant payday loan.
by Payday loan.
Instant payday loan.
by Payday loan.
by Ringtones.
Instant payday loan.
by Payday loan.
Instant payday loan.
by Payday loan.
int mysql_num_rows ( resource result )
Get number of rows in result record set.
reference : http://www.php.net/manual/en/function.mysql-num-rows.php
int mysql_affected_rows ( [resource link_identifier] )
Get number of affected rows in previous MySQL operation
reference : http://www.php.net/manual/en/function.mysql-affected-rows.php
이렇게 사용하는 것이 괜찮은걸까? ^^;;
if ($pos = strpos ($query, "SELECT", 0)) {
$this->num_rows = mysql_num_rows ($this->res) ;
}
else {
$this->affected_rows = mysql_affected_rows ($this->dbConn) ;
}
Get number of rows in result record set.
reference : http://www.php.net/manual/en/function.mysql-num-rows.php
int mysql_affected_rows ( [resource link_identifier] )
Get number of affected rows in previous MySQL operation
reference : http://www.php.net/manual/en/function.mysql-affected-rows.php
이렇게 사용하는 것이 괜찮은걸까? ^^;;
if ($pos = strpos ($query, "SELECT", 0)) {
$this->num_rows = mysql_num_rows ($this->res) ;
}
else {
$this->affected_rows = mysql_affected_rows ($this->dbConn) ;
}



