 
			
				17/04/2007, 01:10
			
			
			     |  
      |    |    |    Fecha de Ingreso: abril-2007  
						Mensajes: 3
					  Antigüedad: 18 años, 6 meses Puntos: 0     |        |  
  |      Re: Pregunta de novato        El error en concreto es el siguiente:  
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\AppServ\www\pruebas\unit4.php on line 11   
y el codigo fuente es este:   
<?php 
        //Includes 
        require_once("vcl/vcl.inc.php"); 
        use_unit("forms.inc.php"); 
        use_unit("extctrls.inc.php"); 
        use_unit("stdctrls.inc.php");   
        //Class definition 
        class Unit4 extends Page 
        { 
               public $ListBox1 = null; 
               public $Button1 = null; 
               public $Edit1 = null; 
               function Button1Click($sender, $params) 
               { 
               $this->ListBox1->Items[] = $this->Edit1->Text;     
               }   
        }   
        global $application;   
        global $Unit4;   
        //Creates the form 
        $Unit4=new Unit4($application);   
        //Read from resource file 
        $Unit4->loadResource(__FILE__);   
        //Shows the form 
        $Unit4->show();   
?>   
Gracias           |