So, I've been trying to track down a solution to this problem and I
haven't found it yet. (I should probably open a trac ticket but figured
I'd shoot out the question here first).
Okay, I have a custom query doing some fun stuff, but anytime I'm using
mysql functions (like COUNT or SUBSTRING or whatever) I alias the name
to something meaningful like 'fieldcount'. The problem is the array I
get back:
Array
(
[Item] => Array
(
[name] => asdfas
)
[#sql_13b_0] => Array
(
[mydate] => 1983-03-21 21:00:00
)
)
As you can see, the #sql_13b_0 part isn't what I want. In trying to
trace things back through the code, I'm noticing that it may in fact be
MySQL returning this value during a mysql_fetch_field call.
Question is... can I specify something more meaningful or have it at
least default to something consistent?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---