TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   how to get the rows affected(not number of rows) (http://www.talkphp.com/absolute-beginners/2686-how-get-rows-affected-not-number-rows.html)

kororo203 04-23-2008 03:24 AM

how to get the rows affected(not number of rows)
 
as i had look up in the php manual mysql_num_rows return the number of affected rows by the previous mysql query but how do i get the information from that row...

thanx in advance you help is really appriciatted

Jim 04-23-2008 07:42 AM

The information? You mean the data from the Database? In that case look at mysql_fetch_* functions (e.g. mysql_fetch_object, mysql_fetch_assoc, mysql_fetch_array)

Hope this is the awnser you're seeking for.

kororo203 04-23-2008 08:32 AM

iha d used mysql_fetch_row.. thanx man


All times are GMT. The time now is 08:22 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0