php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2005

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 26.05.2005, 14:42  
Gast
 
Beiträge: n/a
Standard Use of undefined constant info_id - assumed 'info_id'

ab folgendes Problem

Ich hab übergebe einem Fenster mit folgenden Code eine Variabel

PHP-Code:
<?php
error_reporting
(E_ALL);    
include 
'config.php';    
    
// Konfigurationsdatei laden    
@mysql_connect(MYSQL_HOSTMYSQL_USERMYSQL_PASS) OR die(mysql_error());    
mysql_select_db(MYSQL_DATABASE) OR die(mysql_error());   
 
$wh_id $_GET[info_id];

$sql "SELECT  con_id,
                con_datum,
                con_name,
                con_ort,
                con_location,
                con_bands,
                con_infos,
                con_beginn,
                con_vvk,
                con_vvk_wo,
                con_ak,
                con_url,
                con_email
        FROM                
                concerts_general
        WHERE                
                con_id = "
.$wh_id.";";
            
 
$result mysql_query($sql) OR die(mysql_error());

?>
ich krieg folgende Fehlermeldung zrück:

Zitat:
Notice: Use of undefined constant info_id - assumed 'info_id' in /kunden/100142_8361/webseiten/sites/austrian_concerts/info.php on line 19
Bitte helft mir
 
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 26.05.2005, 14:45  
Gast
 
Beiträge: n/a
Standard

$wh_id = $_GET[info_id]; ersetzen mit $wh_id = $_GET['info_id'];
Das ist aber genau das, was er dir auch sagt
 
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Notice: Undefined index Kein Genie PHP Tipps 2008 5 23.04.2008 17:40
Seite nicht ohne design aufrufen Buschdieb PHP Tipps 2006 27 21.04.2006 20:41
Use of undefined constant ... PHP Tipps 2005-2 12 09.09.2005 13:28
use of undefined constant PHP Tipps 2005-2 7 27.07.2005 20:11
Fehlermeldung / Notice ?! andrew22 PHP Tipps 2005 7 03.04.2005 20:15
Notice: Use of undefined constant void - assumed 'void' in / PHP Tipps 2005 7 16.02.2005 09:05
Notice: Use of undefined constant email_falsch....? PHP Tipps 2005 5 01.02.2005 13:55
Use of undefined constant total - assumed 'total' in PHP Tipps 2004-2 3 07.11.2004 17:58
undefined constant PHP Tipps 2004 5 03.07.2004 13:04

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
notice: use of undefined constant info_id - assumed, notice use of undefined constant assumed sql, use of undefined constant _dir_ - assumed \'_dir_, use of undefined constant * - assumed \'*\'

Alle Zeitangaben in WEZ +2. Es ist jetzt 10:45 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.