本文介绍了如何使用netbeans在php文件中对齐文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我在 html中编码但它没有' t工作? < html> < head> < meta http-equiv =Content-Typecontent =text / html; charset = UTF-8> < title>< / title> < style type =text / css> #text {宽度:170px; 身高:100px; margin-left:5px; } < / style> < form action =method =post> < input type =textname =unwidth =250em> < input type =passwordname =un2/> < input type =submitvalue =submitname =submit/> < / form> < / head> < body> <?php echo(这太棒了); if(!empty($ _ POST)){ $ users1 = $ _POST [' un ]; echo $ users1; } ?> < / body> < / html> 解决方案 users1 = i coded in html but it doesn't work?<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title><style type="text/css">#text { width:170px; height:100px; margin-left:5px; }</style> <form action="" method="post" > <input type="text" name="un" width="250em"> <input type="password" name="un2" /> <input type="submit" value="submit" name="submit" /></form> </head> <body> <?php echo("this is Awesome"); if(!empty($_POST)) { $users1 = $_POST['un']; echo $users1;} ?> </body></html> 解决方案 这篇关于如何使用netbeans在php文件中对齐文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-30 00:32