2

Пишет

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

     mysql_query("SELECT datacenter.name, datacenter.surname, senderInfo.name_avatar, senderInfo.has_avatar FROM datacenter LEFT JOIN photo AS senderInfo ON datacenter.id = senderInfo.id WHERE datacenter.id_soft = '$id', datacenter.type = '$house'") or die(mysql_error());
1
  • А можете показать сам SQL-запрос?
    – alex_90
    19 дек 2011 в 16:15

1 ответ 1

1
WHERE datacenter.id = '$id' AND datacenter.type = '$house'

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.