Jump to content

[SOLVED] Parse error: parse error, unexpected T_STRING


drastixnz

Recommended Posts

I have this error

 

Parse error: parse error, unexpected T_STRING in /var/www/html/egroupware/cds/conex.php on line 21

 

In line 21 which is in read below

 

Help please. what is the problem???

 

 

<?php

  /******************************************************************************\

  * CDS-PhP 3.0                                                                *

  * http://cdsphp.sourceforge.net                                              *

  * This file written by Pablo Capeluto <pcapeluto@gmail.com>                  *

  * MSN: pcapeluto@hotmail.com                                                  *

  * Montevideo Uruguay                                                          *

  * --------------------------------------------                                *

  *  This program is free software; you can redistribute it and/or modify it    *

  *  under the terms of the GNU General Public License as published by the      *

  *  Free Software Foundation; either version 2 of the License, or (at your    *

  *  option) any later version.                                                *

  *  Spanish to Engilsh Translation Paul Dracevich pdracevich@gmail.com        *

\******************************************************************************/

 

 

?>

<?php

      function Conectarse()

          {

          if (!($link=mysql_connect("10.1.1.4","egroupware",""egroupware"")))

          {

          echo "Error connecting to the data base.";

          exit();

          }

          if (!mysql_select_db("serviceEstructura",$link))

          {

          echo "Error selecting the data base.";

          exit();

          }

          return $link;

          }

 

# Datos de la empresa que usa el software.

        $miEmpresa="IDE.net Grupo Informático";

        $miDireccion="Galería del Libertador Local 28";

        $miTelefono="096 705869";

        $miCorreo="service@idegi.com";

        $miSlogan="Grupo informático";

        $miLogo="logo.jpg";

?>

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.