array(3) {
[0]=>
array(4) {
["file"]=>
string(52) "/home/rugsonline/public_html/includes/class/base.php"
["line"]=>
int(39)
["function"]=>
string(15) "db_query_failed"
["args"]=>
array(2) {
[0]=>
&string(50) "SELECT * FROM product_categories where product_id="
[1]=>
&string(22) "DB Error: syntax error"
}
}
[1]=>
array(4) {
["file"]=>
string(52) "/home/rugsonline/public_html/includes/class/base.php"
["line"]=>
int(351)
["function"]=>
string(10) "db_get_all"
["args"]=>
array(5) {
[0]=>
&string(18) "product_categories"
[1]=>
&string(0) ""
[2]=>
&string(11) "product_id="
[3]=>
&string(0) ""
[4]=>
&string(0) ""
}
}
[2]=>
array(7) {
["file"]=>
string(43) "/home/rugsonline/public_html/shopDetail.php"
["line"]=>
int(13)
["function"]=>
string(7) "get_all"
["class"]=>
string(4) "base"
["object"]=>
object(product_categories)#3 (3) {
["_table_name"]=>
string(18) "product_categories"
["_field_names"]=>
array(2) {
[0]=>
string(10) "product_id"
[1]=>
string(11) "category_id"
}
["_field_types"]=>
array(2) {
["product_id"]=>
array(2) {
[0]=>
string(3) "int"
[1]=>
string(8) "required"
}
["category_id"]=>
array(2) {
[0]=>
string(3) "int"
[1]=>
string(8) "required"
}
}
}
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
&string(0) ""
[1]=>
&string(11) "product_id="
}
}
}
Query failed:
SELECT * FROM product_categories where product_id=DB Error: syntax error