$date = date(´d.m.y´);
$sql = "insert into forum (forum, theard, von, date, posts, text) values (´$forum´,´$theard´,´$nick´,´$date´,´$post´,´$msg´)";
mysql_query($sql);
$sql = "select * from forums";
$abfarge = mysql_query($sql);
while ($row = mysql_fetch_array($abfrage))
{
if ($row[theards] == ´$forum|$theard´)
{
$altposts = $row[posts];
$posts = $altposts++;
$state = $row[open]
}
}
$sql1 = update ´forums´ SET ´posts´ = ´$posts´ WHERE CONVERT (´forums´.´name´ USING utf8) = ´$forum´ AND CONVERT (´forums´.´theards´ using utf8) = ´$forum|$theard´ AND CONVERT (´forums´.´open´ using utf8) = ´$state´ AND ´forums´.´posts´ = $altposts LIMIT 1;";
mysql_query($sql1);
Dropdown php MySQL
R0bin 03.02.2007 - 248 Hits - 2 Antworten
Habe ein FSG-3 Storage Gateway und kann nach update nicht mehr auf meinen MySQl-Server zugreifen. erhalten immer eine fehlermeldung. wer kann helfen.
momo08 17.02.2008 - 64 Hits -
MySQL / ODBC unter Vista sehr langsam
alialialiali 21.02.2008 - 94 Hits -
Perl mit MySQL?
TByte 09.05.2008 - 71 Hits - 36 Antworten