array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(60) " select count(*) from shop_appearance where users_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(60) " select count(*) from shop_appearance where users_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(56) " select count(*) from followers where to_user_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(56) " select count(*) from followers where to_user_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(53) " select count(*) from followers where user_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
[1]=>
string(53) " select count(*) from followers where user_id ="
}
array(2) {
[0]=>
string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6"
[1]=>
string(414) "
SELECT i.items_id, i.items_title, i.items_image,io.items_sale_price,io.items_price, u.users_username, u.users_id
FROM item_favorite AS f
LEFT JOIN items AS i ON f.item_id = i.items_id
LEFT JOIN items_order_information AS io ON f.item_id = io.items_id
LEFT JOIN users AS u ON i.users_id = u.users_id
WHERE f.user_id = "
}
array(2) {
[0]=>
string(170) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and uc.status = 'active'' at line 4"
[1]=>
string(266) " select count(*) from users_comments as uc
left join users as u on uc.author_id = u.users_id
left join users_profile as up on u.users_id = up.users_id
where uc.user_id = and uc.status = 'active'
"
}
array(2) {
[0]=>
string(170) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and uc.status = 'active'' at line 4"
[1]=>
string(266) " select count(*) from users_comments as uc
left join users as u on uc.author_id = u.users_id
left join users_profile as up on u.users_id = up.users_id
where uc.user_id = and uc.status = 'active'
"
}
array(2) {
[0]=>
string(209) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND uc.status = 'active'
ORDER BY uc.created_at' at line 5"
[1]=>
string(421) "
SELECT u.users_username, u.users_id, up.avatar_image, uc.comment, date_format(uc.created_at,'%M %d %Y') AS date_of_created
FROM users_comments AS uc
LEFT JOIN users AS u ON uc.author_id = u.users_id
LEFT JOIN users_profile AS up ON u.users_id = up.users_id
WHERE uc.user_id = AND uc.status = 'active'
ORDER BY uc.created_at"
}