Using html in php -


I have a problem with this statement: after this I will get an empty page. So the whole code looks like this: im tyrying to use html in php and to reuse php from HTML: the whole rest works and if i replace 'with' add2.php '' But it writes anything before I pick anything

   Login. '' Selected & gt; '$ Language-> Login. ' & Lt; / Option & gt; '; } Echo '& lt; / Form & gt; '; ? & Gt; & Lt; Input type = "submit" value = "login" name = "submit" /> & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

HTML form element does not render anything on screen ... add some content and You will see that it is working.

  & lt ;? Php function login () {echo "?"; }? & Gt; & Lt ;? Php echo '& lt; Form action = "& lt ;? php login () ;? & gt;" Method = "post" & gt; '; Echo 'Hello World!'; Echo '& lt; / Form & gt; '; ? & Gt;  

Ensure that your quotes are properly closed (I'm not sure if there was a copy / copy error in your sample if there was any duplication error)

< / Div>

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -