Re: mysql_result(), Unable to jump to row 1 on MySQL result index 3
| From: | Wico de Leeuw | Date: | Mon, 10 Jul 2000 11:27:36 +0000 |
| Subject: | Re: mysql_result(), Unable to jump to row 1 on MySQL result index 3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24052@lists.php.net to get a copy of this message | ||
At 12:47 10-7-2000 +0200, waldschrott wrote:
Hi this is a semi-mysql-php question, has something changed in there since mysql version 3.22.x to 3.23.19, I rarely use mysql_result() prefering mysql_fetch_row and so on... my result has 1 row (verified with mysql_num_rows()) and in this row is the needed result (verified with mysql_fetch_row()). But it´s not possible mysql_result($result,1) - has something changed here since I used that function the last time ???isn't the first row 0? try mysql_result($result,0) and should mysql_result need an parameter for the field to get? greetz, wico
regards --o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° ·0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . ·| psychedelic experience | gott@kiffen.de | O ° o °o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ · -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net