Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]Kolumna
-zdenerwowany-
post
Post #1





Goście







Witam, bawię się ostatnio w php postanowiłem że dla siebie zrobię klona jakiejś gry rozpoczołem, przygotowałem sobie tabelę bo mi coś tam było potrzebne tabela 7x7 działa wszystko tak jak chcę tylko nie kolumna nr 4 ! Znaczniki zamknięte każda tabela taka sama jak w kolumnach obok i tylko ta jedna cała kolumna nie działa. ( mam tam buttony obrazkowe. obrazek się pojawia ale tak jakby był tłem i nie idzie go ani kliknąć ani zaznaczyć)
  1. <table cellspacing=0 cellpadinng=0 border=0 >
  2. <tr>
  3. <td width='35' height='35' background='foty/mapa/$poz1.png'></td> <td width='35' height='35' background='foty/mapa/$poz2.png'></td> <td width='35' height='35' background='foty/mapa/$poz3.png'></td> <td width='35' height='35' background='foty/mapa/$poz4.png'></td> <td width='35' height='35' background='foty/mapa/$poz5.png'></td> <td width='35' height='35' background='foty/mapa/$poz6.png'></td> <td width='35' height='35' background='foty/mapa/$poz7.png'></td>
  4. </tr>
  5. <tr>
  6. <td width='35' height='35' background='foty/mapa/$poz8.png'></td> <td width='35' height='35' background='foty/mapa/$poz9.png'></td> <td width='35' height='35' background='foty/mapa/$poz10.png'></td> <td width='35' height='35' background='foty/mapa/$poz11.png'></td> <td width='35' height='35' background='foty/mapa/$poz12.png'></td> <td width='35' height='35' background='foty/mapa/$poz13.png'></td> <td width='35' height='35' background='foty/mapa/$poz14.png'></td>
  7. </tr>
  8. <tr>
  9. <td width='35' height='35' background='foty/mapa/$poz15.png'></td> <td width='35' height='35' background='foty/mapa/$poz16.png'></td>
  10.  
  11. <td width='35' height='35' background='foty/mapa/$poz17.png'>
  12. <form action='index.php' method='post'>
  13. <input type='hidden' name='ruch' value='1' />
  14. <input type='image' src='foty/gl.png' alt='informacja alternatywna' /></form>
  15.  
  16. </td>
  17.  
  18. <td width='35' height='35' background='foty/mapa/$poz18.png'>
  19. <form action='index.php' method='post'>
  20. <input type='hidden' name='ruch' value='2' />
  21. <input type='image' src='foty/g.png' alt='informacja alternatywna' /></td>
  22.  
  23. <td width='35' height='35' background='foty/mapa/$poz19.png'>
  24. <form action='index.php' method='post'>
  25. <input type='hidden' name='ruch' value='3' />
  26. <input type='image' src='foty/gp.png' alt='informacja alternatywna' /></form>
  27.  
  28. </td> <td width='35' height='35' background='foty/mapa/$poz20.png'></td> <td width='35' height='35' background='foty/mapa/$poz21.png'></td>
  29. </tr>
  30. <tr>
  31. <td width='35' height='35' background='foty/mapa/$poz22.png'></td> <td width='35' height='35' background='foty/mapa/$poz23.png'></td> <td width='35' height='35' background='foty/mapa/$poz24.png'>
  32. <form action='index.php' method='post'>
  33. <input type='hidden' name='ruch' value='4' />
  34. <input type='image' src='foty/l.png' alt='informacja alternatywna' /></form>
  35.  
  36. </td>
  37.  
  38. <td width='35' height='35' background='foty/mapa/$poz15.png'></td>
  39.  
  40.  
  41. <td width='35' height='35' background='foty/mapa/$poz26.png'>
  42. <form action='index.php' method='post'>
  43. <input type='hidden' name='ruch' value='5' />
  44. <input type='image' src='foty/p.png' alt='informacja alternatywna' /></form>
  45.  
  46. </td> <td width='35' height='35' background='foty/mapa/$poz27.png'></td> <td width='35' height='35' background='foty/mapa/$poz28.png'></td>
  47. </tr>
  48. <tr>
  49. <td width='35' height='35' background='foty/mapa/$poz29.png'></td> <td width='35' height='35' background='foty/mapa/$poz30.png'></td> <td width='35' height='35' background='foty/mapa/$poz31.png'>
  50. <form action='index.php' method='post'>
  51. <input type='hidden' name='ruch' value='6' />
  52. <input type='image' src='foty/dl.png' alt='informacja alternatywna' /></form>
  53.  
  54. </td> <td width='35' height='35' background='foty/mapa/$poz32.png'>
  55. <form action='index.php' method='post'>
  56. <input type='hidden' name='ruch' value='7' />
  57. <input type='image' src='foty/d.png' alt='informacja alternatywna' /></form>
  58.  
  59. </td> <td width='35' height='35' background='foty/mapa/$poz33.png'>
  60. <form action='index.php' method='post'>
  61. <input type='hidden' name='ruch' value='8' />
  62. <input type='image' src='foty/dp.png' alt='informacja alternatywna' /></form>
  63.  
  64. </td> <td width='35' height='35' background='foty/mapa/$poz34.png'></td> <td width='35' height='35' background='foty/mapa/$poz35.png'></td>
  65. </tr>
  66. <tr>
  67. <td width='35' height='35' background='foty/mapa/$poz36.png'></td> <td width='35' height='35' background='foty/mapa/$poz37.png'></td> <td width='35' height='35' background='foty/mapa/$poz38.png'></td> <td width='35' height='35' background='foty/mapa/$poz39.png'>
  68.  
  69.  
  70. </td> <td width='35' height='35' background='foty/mapa/$poz40.png'></td> <td width='35' height='35' background='foty/mapa/$poz41.png'></td> <td width='35' height='35' background='foty/mapa/$poz42.png'></td>
  71. </tr>
  72. <tr>
  73. <td width='35' height='35' background='foty/mapa/$poz43.png'></td> <td width='35' height='35' background='foty/mapa/$poz44.png'></td> <td width='35' height='35' background='foty/mapa/$poz45.png'></td> <td width='35' height='35' background='foty/mapa/$poz46.png'></td> <td width='35' height='35' background='foty/mapa/$poz47.png'></td> <td width='35' height='35' background='foty/mapa/$poz48.png'></td> <td width='35' height='35' background='foty/mapa/$poz49.png'></td>
  74. </tr>
  75. </table>
  76.  
  77. ";


Go to the top of the page
+Quote Post
erix
post
Post #2





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




Bez kolorowania składni... ;x

Włącz sobie jakieś IDE, to pokaże Ci, który znacznik jest źle domknięty.


--------------------

ZCE :: Pisząc PW załączaj LINK DO TEMATU i TYLKO w sprawach moderacji :: jakiś błąd - a TREŚĆ BŁĘDU? :: nie ponaglaj z odpowiedzią via PW!
Go to the top of the page
+Quote Post
-zdenerwowany-
post
Post #3





Goście







  1. <table cellspacing=0 border=0 >
  2. <tr>
  3. <td width='35' height='35' background='foty/mapa/$poz1.png'></td>
  4. <td width='35' height='35' background='foty/mapa/$poz2.png'></td>
  5. <td width='35' height='35' background='foty/mapa/$poz3.png'></td>
  6. <td width='35' height='35' background='foty/mapa/$poz4.png'></td>
  7. <td width='35' height='35' background='foty/mapa/$poz5.png'></td>
  8. <td width='35' height='35' background='foty/mapa/$poz6.png'></td>
  9. <td width='35' height='35' background='foty/mapa/$poz7.png'></td>
  10. </tr>
  11.  
  12. <tr>
  13. <td width='35' height='35' background='foty/mapa/$poz8.png'></td>
  14. <td width='35' height='35' background='foty/mapa/$poz9.png'></td>
  15. <td width='35' height='35' background='foty/mapa/$poz10.png'></td>
  16. <td width='35' height='35' background='foty/mapa/$poz11.png'></td>
  17. <td width='35' height='35' background='foty/mapa/$poz12.png'></td>
  18. <td width='35' height='35' background='foty/mapa/$poz13.png'></td>
  19. <td width='35' height='35' background='foty/mapa/$poz14.png'></td>
  20. </tr>
  21. <tr>
  22. <td width='35' height='35' background='foty/mapa/$poz15.png'></td>
  23. <td width='35' height='35' background='foty/mapa/$poz16.png'></td>
  24. <td width='35' height='35' background='foty/mapa/$poz17.png'>
  25. <form action='index.php' method='post'>
  26. <input type='hidden' name='ruch' value='1' />
  27. <input type='image' src='foty/gl.png' alt='informacja alternatywna' /></form></td>
  28. <td width='35' height='35' background='foty/mapa/$poz18.png'>
  29. <form action='index.php' method='post'>
  30. <input type='hidden' name='ruch' value='2' />
  31. <input type='image' src='foty/g.png' alt='informacja alternatywna' /></td>
  32. <td width='35' height='35' background='foty/mapa/$poz19.png'>
  33. <form action='index.php' method='post'>
  34. <input type='hidden' name='ruch' value='3' />
  35. <input type='image' src='foty/gp.png' alt='informacja alternatywna' /></form></td>
  36. <td width='35' height='35' background='foty/mapa/$poz20.png'></td>
  37. <td width='35' height='35' background='foty/mapa/$poz21.png'></td>
  38. </tr>
  39. <tr>
  40. <td width='35' height='35' background='foty/mapa/$poz22.png'></td>
  41. <td width='35' height='35' background='foty/mapa/$poz23.png'></td>
  42. <td width='35' height='35' background='foty/mapa/$poz24.png'>
  43. <form action='index.php' method='post'>
  44. <input type='hidden' name='ruch' value='4' />
  45. <input type='image' src='foty/l.png' alt='informacja alternatywna' /></form></td>
  46. <td width='35' height='35' background='foty/mapa/$poz15.png'></td>
  47. <td width='35' height='35' background='foty/mapa/$poz26.png'>
  48. <form action='index.php' method='post'>
  49. <input type='hidden' name='ruch' value='5' />
  50. <input type='image' src='foty/p.png' alt='informacja alternatywna' /></form></td>
  51. <td width='35' height='35' background='foty/mapa/$poz27.png'></td>
  52. <td width='35' height='35' background='foty/mapa/$poz28.png'></td>
  53. </tr>
  54. <tr>
  55. <td width='35' height='35' background='foty/mapa/$poz29.png'></td>
  56. <td width='35' height='35' background='foty/mapa/$poz30.png'></td>
  57. <td width='35' height='35' background='foty/mapa/$poz31.png'>
  58. <form action='index.php' method='post'>
  59. <input type='hidden' name='ruch' value='6' />
  60. <input type='image' src='foty/dl.png' alt='informacja alternatywna' /></form></td>
  61. <td width='35' height='35' background='foty/mapa/$poz32.png'>
  62. <form action='index.php' method='post'>
  63. <input type='hidden' name='ruch' value='7' />
  64. <input type='image' src='foty/d.png' alt='informacja alternatywna' /></form></td>
  65. <td width='35' height='35' background='foty/mapa/$poz33.png'>
  66. <form action='index.php' method='post'>
  67. <input type='hidden' name='ruch' value='8' />
  68. <input type='image' src='foty/dp.png' alt='informacja alternatywna' /></form></td>
  69. <td width='35' height='35' background='foty/mapa/$poz34.png'></td>
  70. <td width='35' height='35' background='foty/mapa/$poz35.png'></td>
  71. </tr>
  72. <tr>
  73. <td width='35' height='35' background='foty/mapa/$poz36.png'></td>
  74. <td width='35' height='35' background='foty/mapa/$poz37.png'></td>
  75. <td width='35' height='35' background='foty/mapa/$poz38.png'></td>
  76. <td width='35' height='35' background='foty/mapa/$poz39.png'></td>
  77. <td width='35' height='35' background='foty/mapa/$poz40.png'></td>
  78. <td width='35' height='35' background='foty/mapa/$poz41.png'></td>
  79. <td width='35' height='35' background='foty/mapa/$poz42.png'></td>
  80. </tr>
  81. <tr>
  82. <td width='35' height='35' background='foty/mapa/$poz43.png'></td>
  83. <td width='35' height='35' background='foty/mapa/$poz44.png'></td>
  84. <td width='35' height='35' background='foty/mapa/$poz45.png'></td>
  85. <td width='35' height='35' background='foty/mapa/$poz46.png'></td>
  86. <td width='35' height='35' background='foty/mapa/$poz47.png'></td>
  87. <td width='35' height='35' background='foty/mapa/$poz48.png'></td>
  88. <td width='35' height='35' background='foty/mapa/$poz49.png'></td>
  89. </tr>


nie rozumiem tego kodu sad.gif znaczniki zamknięte sprawdzałem każdy. w 2 edytorach i nie widzę tu błędu sad.gif

W tych 2 linijkach nie działa formularz : tam gdzie jest zmienna $poz19 i $poz33
Go to the top of the page
+Quote Post
-zdenerwowany-
post
Post #4





Goście







poprawa 32 i 18
Go to the top of the page
+Quote Post

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: 19.08.2025 - 18:42