Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Błąd - Parse error: syntax error, unexpected $end in...
Rozix
post
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 4.03.2010

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


Mam taki kod i pokazuje mi się błąd
  1. Parse error: syntax error, unexpected $end in c:\usr\krasnal\www\rozix\panel.php on line 55

  1. <?
  2.  
  3. $username = $mybb->user['username'];
  4. $zapytanie = mysql_query("SELECT * FROM `mybb_postacie` WHERE `username`='$username'");
  5. $wiersz2=mysql_fetch_array($zapytanie);
  6. $imieg = $wiersz2['imie'];
  7. $nazwiskog = $wiersz2['nazwisko'];
  8. $login=$imieg.'_'.$nazwiskog;
  9.  
  10.  
  11. $serwer="C:\usr\krasnal\www\eqrp\scriptfiles\";
  12. $sciezka=$serwer.$login.'.ini';
  13.  
  14. if(file_exists($sciezka)){
  15. $f=file_get_contents($sciezka);
  16.  
  17. function dane($wiersz){
  18. global $sciezka
  19. $f=file_get_contents($sciezka);
  20. $danekonta=explode('\n', $f);
  21. $dobrehaslo=explode('=', $danekonta[$wiersz]);
  22. $dobrehasloa=$dobrehaslo[1];
  23.  
  24. return $dobrehasloa;
  25. }
  26.  
  27.  
  28.  
  29. while($wiersz3=mysql_fetch_array($zapytanie)
  30. {
  31.  
  32.  
  33. echo `
  34. <table border=\"0\" class=\"thead\" width=\"100%\">
  35. <td valign=\"top\">
  36. <tr>
  37. <td class=\"thead\" colspan=\"{$colspan}\"><b>$imieg $nazwiskog:</b></td>
  38. </tr>
  39. </table>
  40. `;
  41. echo `
  42. <table width=\"100%\" border=\"0\" align=\"center\" cellspacing=\"1\" cellpadding=\"{$theme['tablespace']}\" class=\"tborder\">
  43. <tr>
  44. <td class=\"trow1\" width=\"50%\"><b>Portfel:</b></td>
  45. <td class=\"trow1\" width=\"50%\">.dane(15).<br />
  46. </tr><tr><td class=\"trow2\" width=\"50%\"><b>Bank</b></td>
  47. <td class=\"trow2\" width=\"50%\">pusto</td></tr>
  48. <tr><td class=\"trow1\" width=\"50%\"><b>Inne:</b></td>
  49. <td class=\"trow1\" width=\"50%\">puste</td></tr>
  50. </td>
  51. </table>
  52. `;
  53. }
  54. }
  55. ?>

Szukałem na googlach i innych stronach, lecz nie naprawiłem.
Powód edycji: [Cysiaczek]: dodałem tag
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 21.08.2025 - 17:16