Einzelnen Beitrag anzeigen
Alt 28.03.2002, 19:44   #6
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

Hmmm .....

Direkt in mysql klappts:
Code:
mysql> select * from artikel;
+------+--------+
| id   | bild   |
+------+--------+
|    3 | text4  |
|    2 | text 2 |
+------+--------+
2 rows in set (0.00 sec)

mysql>  update artikel set id='0', bild="text4" where ID='3';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select * from artikel;
+------+--------+
| id   | bild   |
+------+--------+
|    0 | text4  |
|    2 | text 2 |
+------+--------+
2 rows in set (0.00 sec)
Eventuell in einer Variablen noch ein Blank hinten oder so?
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten