I 1054 - Unknown column 'apa_calda' in 'where clause' MySQL hata almaya devam. İşte sorgu:
SELECT user_id FROM `detalii_contor` WHERE tip_contor=apa_calda
I want to use this query in a PHP file but it doesn't give any results. So I tried to write it in the SQL command prompt. Here is what I tried in the PHP file:
$Q = "SELECT id_contor, den_contor FROM detalii_contor WHERE tip_contor='".$contor."'";
$Q = "SELECT id_contor, den_contor FROM detalii_contor WHERE tip_contor='$contor'";
bile olmadan "" veya olmayan ''.
Ben bir formdan $contor olsun istedim. Ayrıca $_POST['util'] ve {$_POST['util']} ile çalıştı. Ben de $contor ihtiyacım değerini, ancak hiçbir sonuç ayarlamak için denedim.