LasMiranda
kanz pöhse
- 5 Mai 2006
- 3.150
- 333
und warum wird es dann als Text gespeichert, wenn es doch eine Zahl ist?
xxx='$wert' heißt: es ist ein Text
xxx='$wert' heißt: es ist ein Text
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
hab ich doch$zahl = $row[zahl]+1;
AND zahl='$zahl'
AND zahl=$zahl
oh dankeLasMiranda schrieb:TextPHP:AND zahl='$zahl'
ZahlPHP:AND zahl=$zahl
Auch das gibt's nedtraffic schrieb:hab ich doch$zahl = $row[zahl]+1;
$zahl = $row['zahl']+1;
<?
$warenkorb = array_unique(explode('TRENNUNG', $warenkorb));
?>
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /is/htdocs/wp100229591_H488WBOVLP/www/test/include/header.php on line 83
$result = mysql_query("SELECT count(*) FROM warenkorb WHERE ip='$ip' AND zahl=$zahl");
if(!mysql_result($result,0,0)){
$result = mysql_query("SELECT count(*) FROM warenkorb WHERE ip='$ip' AND zahl=$zahl") or die(mysql_error());
if(!mysql_result($result,0,0)){
traffic schrieb: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 '' at line 1
$result = mysql_query("SELECT count(*) FROM warenkorb WHERE ip='$ip' AND zahl=".(integer)($zahl)) or die(mysql_error());
if(!mysql_result($result,0,0)){
$query = "SELECT count(*) FROM warenkorb WHERE ip='$ip' AND zahl=".(integer)($zahl);
$result = mysql_query($query) or die("$query<HR>".mysql_error());
if(!mysql_result($result,0,0)){