Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html]validator -> problem z dopisywanym polem
Mary$
post
Post #1





Grupa: Zarejestrowani
Postów: 113
Pomógł: 1
Dołączył: 19.02.2007
Skąd: 3city

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


Przemaglowałem moja strone przez validatora i jeden z błędów jakie wyskoczyły to:
Line 58 column 120: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag .

...="1ca42d3db1d7ff533b470d070b5933b3" /><div style="text-align:right">

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



a w htmlu fragment tego dokumentu wygląda tak:
  1. <form method="post" action="index.php"><input type="hidden" name="PHPSESSID" value="5146343e75f4f93dc0ba69bf7a38238b" /><div style="text-align:right">

z tym, że pole
  1. <input type="hidden" name="PHPSESSID" value="5146343e75f4f93dc0ba69bf7a38238b" />

dopisuje sie samo. próbowałem już stworzyć w forularzu swoje pole PHPSESSID, bo myslałem, że wtedy przeglądarka nie doda, ale niestety...

Czy ktoś wie, jak temu zaradzić?

Ten post edytował Mary$ 5.03.2007, 13:25:17
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
pammelka
post
Post #2





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 24.06.2007
Skąd: Warszawa

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


Witam!

mam podobny problem co Mary$ - podczas walidacji do kawalka <form....> dodawany jest input ktory bruzdzi (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif) i teraz tak:

-dodalam linijke <?php ini_set('session.use_trans_sid', 0) ;?> i nic
-wkleilam te dwie podane linijki do .htaccess i wtedy w ogole nie chce mi zaladowac strony - wyskakuje error

ta strona to www.yukko.pl/sklep

uporalam sie juz z mnostwem bledow,tylko ten jedne mi zostal

pomocy (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Czy kod php_value session.use_trans_sid "Off" trzeba wstawic do .htaccess w takiej formie jak jest? bo, jak juz wspomnialam wtedy wyskakuje mi blad...

bardzo prosze o pomoc - nie wiem gdzie jeszcze mam jej szukac, a tu chyba trafilam najlepiej jak moglam... (IMG:http://forum.php.pl/style_emoticons/default/worriedsmiley.gif)

ktos madry sie pewnie znajdzie (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

szkoda,ze nikt mi nie pomoze, no trudno

Ten post edytował pammelka 27.06.2007, 21:34:14
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: 12.10.2025 - 19:17