i'm doing
$sql = $_SESSION['data']->bySQL("SELECT * FROM worlds WHERE field='shippingLicenseItemName'");
and then printing result(i know it is very simple but i'm learning by myself through this site)
echo nl2br(print_r($sql, true));
and in result i'm getting array like this :
Array
(
[atlantis] => Array
(
[shippingLicenseItemName] => pkg_atlantisXfer
)
[australia] => Array
(
[shippingLicenseItemName] => pkg_australiaXfer
)
[avalon] => Array
(
[shippingLicenseItemName] => pkg_avalonXfer
)
)
but i want the results like :
World : "atlantis" and item : "shippingLicenseItemName" and code is : "pkg_atlantisxfer"
World : "australia" and item : "shippingLicenseItemName" and code is : "pkg_australiaxfer"