Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem opcją <td align> w kodzie php, problem opcją <td align> w kodzie php
sokot
post
Post #1





Grupa: Zarejestrowani
Postów: 34
Pomógł: 0
Dołączył: 26.01.2005

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


Witam. mam taki problem: uczę się dopiero php i w książce którą mam jest taki kod:
  1. <html>
  2. <body>
  3. <table border=\"0\" cellpading=\"3\">
  4. <tr>
  5. <td bgcolor = \"#CCCCCC\" align=\"center\">Odległość</td>
  6. <td bgcolor = \"#CCCCCC\" align=\"center\">Koszt</td>
  7. </tr>
  8. <?php
  9. $odleglosc = 50;
  10. while ($odleglosc <= 250 )
  11. {
  12. echo &#092;"<tr>n <td align=\"right\">$odleglosc</td>n\";
  13. echo &#092;" <td align=\"right\">\". $odleglosc / 10 .\"</td>n</tr>n\";
  14. $odleglosc += 50;
  15. }
  16. ?>
  17. </table>
  18. </body>
  19. </html>

a mi wywala błąd - dokładnie nie akceptuję właściwości tabeli align w kodzie php.
moze ktoś wie o co chodzi?

Ten post edytował Bakus 17.02.2005, 01:48:37
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: 22.08.2025 - 22:09