[PHP] mysqli's equivalence to mysql_result

2005-10-08 Thread The Gimper
Hello if i just want to recive ONE result from mysql i used to use: echo mysql_result($result, 0); Are there any equivalence to this in mysqli? Or what should i use to only recive ONE result, for example when i query with LIMIT 1. - FREE E-MAIL IN

Re: [PHP] fread and fgets (network streams)

2005-09-04 Thread The Gimper
Sorry for the bump, but please anyone? :P Quoting The Gimper <[EMAIL PROTECTED]>: > On the php.net you can read the following about fread: > > "fread() reads up to length bytes from the file pointer referenced by > handle. > Reading stops when length bytes have been

[PHP] fread and fgets (network streams)

2005-09-01 Thread The Gimper
On the php.net you can read the following about fread: "fread() reads up to length bytes from the file pointer referenced by handle. Reading stops when length bytes have been read, EOF (end of file) is reached, or (for network streams) when a packet becomes available, whichever comes first." I