Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Debugger wywala błąd, którego nie rozumiem.
Turgon
post
Post #1





Grupa: Zarejestrowani
Postów: 800
Pomógł: 0
Dołączył: 26.11.2005
Skąd: Nowy Sącz

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


Cytat
Parse error: parse error, unexpected T_VARIABLE in C:\Documents and Settings\Administrator\Moje dokumenty\Projekty\Ice Island\lib\~phpdesigner_output_tmp.php on line 12

Kod Klasy :
  1. <?php
  2. class actionController
  3. {
  4. var $connect;
  5. var $mysql;
  6.  
  7. function actionController()
  8. {
  9. include ("./lib/fileLoader.class.php");
  10. include ("./config.php");
  11. include ("./lib/MySQLquery.class.php")
  12. $this->mysql = new MySQLquery;
  13. }
  14. function run()
  15. {
  16. $connect = mysql_connect($config['dbuser'],$config['dbpassword']
  17. mysql_select_db($config['dbname']);
  18. }
  19. }
  20. ?>


Co ten błąd oznacza ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Levabul
post
Post #2





Grupa: Zarejestrowani
Postów: 197
Pomógł: 0
Dołączył: 11.07.2005

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


Żle była lina
  1. <?php
  2.  
  3. include ("./lib/MySQLquery.class.php")
  4.  
  5. ?>


musisz dodać na końcu średnik (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 17:53