[SQL allgemein] Problem mit der mysql verbindung??

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • [SQL allgemein] Problem mit der mysql verbindung??

    WER ES MIR LÖST, BEKOMMT 2€ PER PP!

    Hallo mein problem:

    Code:
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 253
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 255
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 257
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 259
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 261
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my-palace.de/httpdocs/win/index.php on line 317
    PHP-Code:

        $result 
    mysql_query("SELECT * FROM gewinnspiel_pro WHERE ip='$ip'");

        
    $game mysql_fetch_array($result);

        echo


    ( http://my-palace.de/win/index.php?action=ok )
    ( so solls ausehen: http://www.6lp.de/index.php?action=ok
    also ich weiss nicht was da falsch ist.... kann mir wer helfen?

    http://my-palace.de/win/mySQL_gewinnspiel_pro.sql

    code:
    -- phpMyAdmin SQL Dump
    -- version 2.6.3-pl1
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Erstellungszeit: 21. Oktober 2005 um 21:02
    -- Server Version: 4.0.18
    -- PHP-Version: 4.3.11
    --
    -- Datenbank: `usr_web144_1`
    --

    -- --------------------------------------------------------

    --
    -- Tabellenstruktur für Tabelle `gewinnspiel_pro`
    --

    CREATE TABLE `gewinnspiel_pro` (
    `id` int(11) NOT NULL auto_increment,
    `ip` text NOT NULL,
    `link1` text NOT NULL,
    `link2` text NOT NULL,
    `link3` text NOT NULL,
    `link4` text NOT NULL,
    `name` text NOT NULL,
    `bank` text NOT NULL,
    `bankleitzahl` int(11) NOT NULL default '0',
    `kontonummer` int(11) NOT NULL default '0',
    `email` text NOT NULL,
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM AUTO_INCREMENT=2 ;
    Zuletzt geändert von claumarama; 08.03.2006, 21:13.

  • #2
    was ist an
    supplied argument is not a valid MySQL result resource
    nicht zu verstehen?

    was sagt mysql_error() ?

    und warum liest du dir unsere regeln nicht durch?
    http://www.php-resource.de/forum/sho...threadid=47906
    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


    Kommentar


    • #3
      Hast du denn die Verbindung überprüft?!
      icedcream.de Webdesign Regensburg

      Kommentar

      Lädt...
      X