1. Dashboard
  2. Artikel
  3. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  1. HTML - Webmaster Forum
  2. Programmierung - Entwickler Forum
  3. PHP Forum - Apache - CGI - Perl - JavaScript und Co.

synatx fehler

  • tetex
  • 1. April 2013 um 02:39
  • tetex
    Azubi(ne)
    Beiträge
    39
    • 1. April 2013 um 02:39
    • #1

    Hallo,

    kann mir jemand sagen, was ich hier falsch mache:

    Code
    $output = "<table class=\"tableDo".__FILE__."\"><tr><th>".$_LANG['do'.__FILE__]."</th><th>".$_LANG['price']."</th><th>".$_LANG['setup']."</th><th class=\"spacer\"></th><th>".$_LANG['do'.__FILE__]."</th><th>".$_LANG['price']."</th><th>".$_LANG['setup']."</th></tr>";

    PHP Parse error: syntax error, unexpected T_STRING, expecting ']'


    mfg

  • Bandit
    Gast
    • 1. April 2013 um 09:27
    • #2

    Parse-Errors in einem Forum :( Einfach mal den Quellcode ordentlich formatieren und die Augen aufmachen!!!

    PHP
    $output = "<table class='tableDo" . __FILE__ ."'>
                <tr>
                  <th>" . $_LANG['do' . __FILE__] . "</th>
                  <th>" . $_LANG['price'] . "</th>
                  <th>" . $_LANG['setup'] . "</th>
                  <th class='spacer'></th>
                  <th>" . $_LANG['do' . __FILE__] . "</th>
                  <th>" . $_LANG['price'] . "</th>
                  <th>" . $_LANG['setup'] . "</th>
                </tr>";

Tags

  • forum
  • file
  • quellcode
  • code
  • php
  • fehler
  • auge
  • augen
  • formatieren
  • error
  • ring
  • table
  • string
  • output
  • syntax
  • parse
  • setup
  • spacer
  • class
  1. Datenschutzerklärung
  2. Impressum
Community-Software: WoltLab Suite™
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
Zitat speichern