I'm trying to write a little webpage to display a character's AA info from the MySQL database.  Here is what I have so far:
	Code:
	<?php
mysql_connect("server","username","password");
@mysql_select_db("eq");
$query="SELECT * FROM character_  WHERE name = 'testchar'";
$result=mysql_query($query);
$object=mysql_fetch_object($result);
// Something is wrong with the following
$x->aa=unpack(@344/V122, $object->profile);
?>
 What I am wanting to do is to place the aa_array into an array that can be referenced easily.  For example, $the_array[1] will return the current Innate Strength value.  Can someone give me a little push in the right direction?[/code]