Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> błąd w kodzie php
solven
post 30.04.2010, 10:44:59
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 2.04.2010

Ostrzeżenie: (0%)
-----


Błąd, który się pojawia:
Kod
Parse error: syntax error, unexpected '{' in D:\Program Files (x86)\WebServ\httpd\install.php on line 104

A kiedy wywalam klamry to:
Kod
Parse error: syntax error, unexpected T_VARIABLE in D:\Program Files (x86)\WebServ\httpd\install.php on line 105


PS. Te wszystkie linie 102-106 są:
Kod
    //connect to MySQL database
    try
    {
        $ots->connect(POT::DB_MYSQL, array('host' => $mysqlhost, 'user' => $mysqluser, 'password' => $mysqlpass, 'database' => $mysqldatabase) );
    }


Ten post edytował solven 30.04.2010, 10:45:50
Go to the top of the page
+Quote Post
marcio
post 30.04.2010, 10:46:45
Post #2





Grupa: Zarejestrowani
Postów: 2 291
Pomógł: 156
Dołączył: 23.09.2007
Skąd: ITALY-MILAN

Ostrzeżenie: (10%)
X----


Pokaz kilka lini wczesniej tez a najlepiej caly kod to wtedy bedzie widac wszystkie klamry.


--------------------
Zainteresowania: XML | PHP | MY(SQL)| C# for .NET | PYTHON
http://code.google.com/p/form-builider/
Moj blog
Go to the top of the page
+Quote Post
solven
post 30.04.2010, 10:56:27
Post #3





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 2.04.2010

Ostrzeżenie: (0%)
-----


http://wklej.org/id/325774/

Prosze smile.gif
Go to the top of the page
+Quote Post
marcio
post 30.04.2010, 11:02:17
Post #4





Grupa: Zarejestrowani
Postów: 2 291
Pomógł: 156
Dołączył: 23.09.2007
Skąd: ITALY-MILAN

Ostrzeżenie: (10%)
X----


Wklej sobie kod do jakiegos dobrego IDE ewentualnie notepad++ i ci pokarze gdzie nie zamykasz klamry :] bo tak liczyc teraz to nie bardzo tongue.gif


--------------------
Zainteresowania: XML | PHP | MY(SQL)| C# for .NET | PYTHON
http://code.google.com/p/form-builider/
Moj blog
Go to the top of the page
+Quote Post
batman
post 30.04.2010, 11:15:40
Post #5





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




Litości. Z czymś takim na forum?
Zamykam.


--------------------
I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.07.2025 - 00:52