Jens Müller: PHP/HTML Fehler...

Beitrag lesen

Hallo ,

Hi,

wieso wird die form nicht im span eingelagert?

  

> echo "<span style=\"border:thin solid black;\">";  
> echo "<form action=\"test.php\" method=\"POST\">";  

erst kommt der span, dann die form, dann die zweite
span mit Inhalt: irdgendwas.

Was muss ich da ändern?

Span und Form duerfen nur innerhalb von Block-Elementen
vorkommen, und <span> muss hinter das <form>
gesetzt werden.

  

> echo "<form action=\"test.php\" method=\"POST\">";  
> echo "<span style=\"border:thin solid black;\">";  

gruesse aus'm ruhrpott
  jens mueller

--
As long as a single mind remembers, as long as a single heart
beats with passion, how can a dream die?
\//_ Live long and prosper
sh:( fo:) ch:| rl:° br:^ n4:| ie:% mo:| va:} de:> zu:) fl:( ss:) ls:> js:|