anpera.net https://anpera.dyndns.org/phpbb3/ |
|
Problem mit der houses.php https://anpera.dyndns.org/phpbb3/viewtopic.php?f=34&t=804 |
Seite 1 von 1 |
Autor: | Meteora [ So 19 Dez, 2004 16:23 ] |
Betreff des Beitrags: | Problem mit der houses.php |
Muh ich hab ein dummes problem mit der houses.php.... ich hab nichts an der DB / File verändert, aber wenn ich irgend ein haus betreten will kommt dies: $this->bbcode_second_pass_code('', ' SELECT items.*,accounts.acctid AS aid,accounts.name AS besitzer FROM items LEFT JOIN accounts ON accounts.acctid=items.owner WHERE value1=275 AND `class`='Schlüssel' ORDER BY id ASC Column: 'class' in where clause is ambiguous ') class ist VARCHAR(25) NOT NULL; . die betreffende stelle in der houses: [php] $sql = "SELECT items.*,accounts.acctid AS aid,accounts.name AS besitzer FROM items LEFT JOIN accounts ON accounts.acctid=items.owner WHERE value1=$row[houseid] AND class='Schlüssel' ORDER BY id ASC"; $result = db_query($sql) or die(db_error(LINK)); [/php] (bis vor kurzem ging alles noch... wäre froh über lösungen. mfg |
Autor: | Meteora [ So 19 Dez, 2004 16:30 ] |
Betreff des Beitrags: | |
Problem gelöst... |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |