NYCPHP Meetup

NYPHP.org

[nycphp-talk] why does setcookie fail?????

Patrick Hunt pat at vote.com
Sat Sep 6 17:02:12 EDT 2003


exactly.

phil used:

  if ($hasLoggedIn && ($row = mysql_fetch_row($query))) {

which does not return an associative array.

-------------------------------------

On Sat, 06 Sep 2003 16:58:49 -0400, Brian Pang wrote:

>Then perhaps the mysql fetch is not returning and ASSOCiative array or BOTH?
>
>Does your mysql_connect or mysql_pconnect specify either of these flags?
>
>are you able to use association to get other mysql fetched results?
>
>
>> Nope it was that... check it out:
>> 
>> > you changed from $row['nnet_user_registrationnumber'] to $row[0].
>> >
>> > I'd bet that the name of column 0 in the sql resulset isn't
>> > 'nnet_user_registrationnumber'
>> >
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk
>





More information about the talk mailing list