[Mysql-cocoa-users] (no subject)
Brought to you by:
sergecohen
From: Syphor <sy...@sp...> - 2002-10-08 13:03:09
|
Dear List, I'm using the MySQL framework to connect to a mysql db. When I send a query to my db my result is in a type of hex. This is my code... SMySQLResult *newsResult = [[[SMySQLResult alloc] init] autorelease]; NSArray *newsFields = [[[NSArray alloc] init] autorelease]; newsResult = [newsConnection queryString:@"select * from test"]; newsFields = [newsResult fetchRowAsArray]; NSLog(@"%@", [newsFields objectAtIndex:0]); the table test has (Bam text) so it should return text... though it returns a type of hex as the result... anyway here is the result: <677468> |