FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » part 2 - file exists not working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: part 2 - file exists not working [message #182893 is a reply to message #182892] Tue, 24 September 2013 14:41 Go to previous messageGo to previous message
Lew Pitcher is currently offline  Lew Pitcher
Messages: 60
Registered: April 2013
Karma:
Member
On Tuesday 24 September 2013 10:34, in comp.lang.php, PointedEars(at)web(dot)de
wrote:

> Lew Pitcher wrote:
>
>> noreply(at)example(dot)com wrote:
>>> Output reseulted in one table row showing with no data.
>>>
>>> www.mroldies.met/filetest.php
>>
>> If $result is not FALSE, you loop through it using mysql_fetch_array() or
>> one of it's child functions (mysql_fetch_row or mysql_fetch_assoc()) to
>> retrieve individual rows
>>
>> Something like
>>
>> while ($row = mysql_fetch_array($result) )
>> {
>> printf("atitle: %s\n",$row['atitle']);
>> printf("btitle: %s\n",$row['btitle']);
>> /* and so on */
>> }
>
> JFTR: The mysql extension is *deprecated* and will be *removed*:
>
> <http://php.net/mysql_fetch_array>

A very valid point that we've repeatedly made to richard. And that he has
considered and rejected.

> Use mysqli or pdo_mysql instead.

Agreed.

--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [urgent] need solution of Questions, in context of PHP5
Next Topic: Host recommendations (slightly OT)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 09:06:08 GMT 2024

Total time taken to generate the page: 0.04254 seconds