[PHP] Full view of active sessions

2003-09-23 Thread Ney André de Mello Zunino
state. Before I go for the latter approach, I would just like to learn from you whether what I asked is possible. Thanks in advance, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SQL statement

2003-09-23 Thread Ney André de Mello Zunino
Dan J. Rychlik wrote: $query = ('SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM custlogon'); Trying enclosing the whole SQL query string in double quotes. Regards, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Function calls and strings

2003-09-11 Thread Ney André de Mello Zunino
is not needed. E.g.: something like: $s = The result is {getResult($foo)}.; as opposed to $s = The result is . getResult($foo) . .; If that is not possible, I would appreciate if someone could suggest the rationale. Thank you, -- Ney André de Mello Zunino -- PHP General Mailing List (http

[PHP] Re: Question on syntax...

2003-08-20 Thread Ney André de Mello Zunino
Jonathan Villa wrote: I've seen this a few times in some code examples... XXX::XXX What do the 2 colons signify? http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
and it usually helps in getting an answer much quicker. Sorry about that. I will include more details next time. Thank you, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MIME-type to file extension

2003-08-14 Thread Ney André de Mello Zunino
Hello. Is there any facility that will help one map a MIME-type to a file extension or extensions? E.g. 'image/jpeg' should map to ('jpg', 'jpeg'), 'image/gif' should map to ('gif') and so on. Thank you, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net

[PHP] The return of mysql_fetch_assoc()

2003-07-29 Thread Ney André de Mello Zunino
[barColumn]; Why is that? It doesn't seem logical. Could it be a bug? Thank you, -- Ney André de Mello Zunino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The return of mysql_fetch_assoc()

2003-07-29 Thread Ney André de Mello Zunino
array when you won't need it any longer. The documentation states on the function signature that mysql_fetch_assoc() returns an array, so I fail to see why I cannot apply the subscript operator to that returned value, which *is* an array. Regards, -- Ney André de Mello Zunino -- PHP General