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

Home » Imported messages » comp.lang.php » MYSQLI_GROUP_FLAG and MYSQLI_NUM_FLAG are both 32768
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
MYSQLI_GROUP_FLAG and MYSQLI_NUM_FLAG are both 32768 [message #179349] Fri, 12 October 2012 11:02 Go to previous message
Jabber is currently offline  Jabber
Messages: 6
Registered: October 2012
Karma:
Junior Member
Hi you all,

i'm using PHP 5.3.10 and Mysql 5.5.2.4, i execute this code:
$result = $conn->query( $sql ); // $sql is "SELECT * FROM mytable;"
$headers = $result->fetch_fields();
$id=$headers[0];
echo ($id->flags & MYSQLI_NUM_FLAG ); // -> 32768
echo ($id->flags & MYSQLI_GROUP_FLAG ); // -> 32768

I get the same number, i.d. 32768, is it a bug ?
My table id ($headers[0]) is not part of a "GROUP BY" clause.

Do you know somethig about this behavior?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dll load problem
Next Topic: Curl chmod file transfer problem...
Goto Forum:
  

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

Current Time: Sun Nov 24 11:30:03 GMT 2024

Total time taken to generate the page: 0.03854 seconds