php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9513 totaler absturz
Submitted: 2001-03-01 14:55 UTC Modified: 2001-03-01 17:39 UTC
From: dirk at meissen dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dirk at meissen dot net
New email:
PHP Version: OS:

 

 [2001-03-01 14:55 UTC] dirk at meissen dot net
bei diesem Code-fragment fehlt noch ein "}"-Zeichen, erganze ich dieses an der markierten stelle, st?rzt das ganze programm ab. Ich benutze die Version PHP Coder PR2 Beta 
hier das Fragment:
__________________________________________________________

if (!$masch_id==0)
{
   $anfrage_masch='select Ansprech_Anbieter, Kurzbezeichnung_D,
                          Anbieternummer ,
                          Kurzbezeichnung_E,Beschreibung_D,
                          Beschreibung_E,Hersteller,Abmessung,
                          Menge,Besichtigung,Zustand,Druckformat,
                          Standort_firma,Standort_name,
                          Standort_adresse,Standort_Land,
                          Verfuegbarkeit,Ablaufdatum,
                          Preis_Angebot, Preis_aktuell,
                          Freischaltdatum,Bilder
                          from maschinendaten where laufende_nr="'.$masch_id.'"';
   $result_masch=mysql_query($anfrage_masch)or die('fehler maschine');
   $row = mysql_fetch_array($result_masch);
   if ($row["Anbieternummer"]==$user_id)
    {
   $ansprech_anb=$row['Ansprech_Anbieter'];
   $kurz_d=$row['Kurzbezeichnung_D'];
   $kurz_e=$row['Kurzbezeichnung_E'];
   $beschr_d=$row['Beschreibung_D'];
   $beschr_e=$row['Beschreibung_E'];
   $herst=$row['Hersteller'];
   $abmess=$row['Abmessung'];
   $menge=$row['Menge'];
   $besicht=$row['Besichtigung'];
   $zustand=$row['Zustand'];
   $druckfor=$row['Druckformat'];
   $st_fir=$row['Standort_frima'];
   $st_name=$row['Standort_name'];
   $st_adr=$row['Standort_adresse'];
   $st_land=$row['Standort_Land'];
   $verfueg=$row['Verfuegbarkeit'];
   $ablauf=$row['Ablaufdatum'];
   $preis_ang=$row['Preis_Angebot'];
   $preis_akt=$row['Preis_aktuell'];
   $bild=$row['Bilder'];
        /*       <<<<<<<------ hier bitte die geschweifte
                   Klammer einf?gen */ 
}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-01 15:04 UTC] dirk at meissen dot net
sorry, false support-database I used
 [2001-03-01 15:09 UTC] eschmid@php.net
Please use the English language and read Dos and Don'ts.
-Egon
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 02:02:52 2024 UTC