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 #182900 is a reply to message #182893] Tue, 24 September 2013 22:40 Go to previous messageGo to previous message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma:
Senior Member
On 9/24/2013 7:41 AM, Lew Pitcher wrote:
> 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.
>

Yeah I made that mistake of banging my head against that wall a month or
so ago.

I also believe it was at the same time trying to explain how to step
thru a mysql result set.

Here we are again.
[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: Tue Nov 26 21:54:02 GMT 2024

Total time taken to generate the page: 0.03972 seconds