Btauche Hilfe ich bekomme immerwieder diesen meldung und finde keine lösung Bitte Hilft mir,ich kenne mich nicht so gut aus
das ist der fehler meldung
Datenbankzugriff fehlgeschlagen. Bitte den Webmaster informieren.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 ' '', '0', '', '', '', '', '', '', '0', '2010-03-27 17:24:10', '0', '0', 0, , '0'' at line 1
INSERT INTO auctions VALUES ('', 'e4ccca46eda12445821e3ca3087d0e85', '', '2010-03-27 17:24:10', '', '', , '', '0', '', '', '', '', '', '', '0', '2010-03-27 17:24:10', '0', '0', 0, , '0', 0, 0, 0, , '', '', '0', '0', '', '', 0,'','')
Das ist der php seite code ich glaube da ist der fheler drin
<?php
require('./includes/messages.inc.php');
require('./includes/config.inc.php');
require('./includes/auction_types.inc.php');
require('./includes/countries.inc.php');
require('./includes/datacheck.inc.php');
function generate_id()
{
global $title, $description;
$continue = true;
// Datenbankgestützte Artikel-Nummern-Verwaltung
$num_query = "select * from numbers where id='1'"; // 1 = Nummernkreis für Auktions-Nummern
$num_result = mysql_query($num_query);
$auction_id = mysql_result($num_result,0,"value");
$next_num = intval($auction_id) + 1;
mysql_query("update numbers set value=$next_num");
return $auction_id;
}
// *********************************************************************
function saveThumbnail($imgfile,$thfile,$max_width="100",$max_height="100")
{
list($org_width, $org_height, $orgtype) = getimagesize($imgfile);
if ($max_width < $org_width)
$div_width = $org_width / $max_width;
else
$div_with = 1;
if ($max_height < $org_height)
$div_height = $org_height / $max_height;
else
$div_height = 1;
if ($div_width >= $div_height)
{
if ($max_width < $org_width)
$new_width = $max_width;
else
$new_width = $org_width;
$new_height = round($org_height / $div_width);
}
else
{
if ($max_height < $org_height)
$new_height = $max_height;
else
$new_height = $org_height;
$new_width = round($org_width / $div_height);
}
switch ($orgtype)
{
case 1 :
$im = imagecreatefromgif($imgfile);
break;
case 2 :
$im = imagecreatefromjpeg($imgfile);
break;
case 3 :
$im = imagecreatefrompng($imgfile);
break;
}
if ($im)
{
$tn = imagecreatetruecolor($new_width,$new_height);
if ($tn)
{
imagecopyresized($tn,$im,0,0,0,0,$new_width,$new_height,$org_width,$org_height);
switch ($orgtype)
{
case 1 :
imagegif($tn,$thfile);
return 1;
break;
case 2 :
imagejpeg($tn,$thfile,60);
return 2;
break;
case 3 :
imagepng($tn,$thfile);
return 3;
break;
}
}
}
return false;
}
// *********************************************************************
// Komma gegen Punkt austauschen
$minimum_bid = str_replace(",",".",$minimum_bid);
$buy_now = str_replace(",",".",$buy_now);
if(empty($action))
{
$action = "login";
}
if (($REQUEST_METHOD=="GET" && $action=="login") && !$HTTP_COOKIE_VARS["$LOGGED_IN_COOKIE"])
{
$TPL_seanr = $seanr;
include "header.php";
include "templates/template_sell_login_php.html";
include "footer.php";
exit;