explain a line of code

explain a line of code

am 20.04.2005 18:31:33 von Wade

--------------030003040708060303070101
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

04202005 1131 GMT-6

Would some one please explain to me what this line of code means:

mysql_result($result,0,0);

Wade

--------------030003040708060303070101--

Re: explain a line of code

am 20.04.2005 20:18:42 von Randy Clamons

$result = resource returned from call to mysql_query'
the first 0 retrieves value from the first row.
The second 0 retrieves value from the first column.

See: http://us4.php.net/manual/en/function.mysql-result.php

Randy Clamons
Systems Programming
Novaspace.com


> ------------Original Message------------
> From: Wade
> To: "mysql list"
> Date: Wed, Apr-20-2005 9:31 AM
> Subject: explain a line of code
>
> 04202005 1131 GMT-6
>
> Would some one please explain to me what this line of code means:
>
> mysql_result($result,0,0);
>
> Wade
>


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org