Example #1
0
	<button   onkeydown='if(event.keyCode==13){gosubmit();}' type="submit">查询</button>

			</form>



				<p>
					查询人信息
				</p>
  <p><small><?php 
echo get_personinfo_xuanxiu($_REQUEST['xh'], $_REQUEST['pw']);
?>
</small></p>
	
		<?php 
echo get_xuanxiu($_REQUEST['xh'], $_REQUEST['pw']);
?>
	

</body>
</html>


		

<?php 
function get_utf8_string($content)
{
    $encoding = mb_detect_encoding($content, array('ASCII', 'UTF-8', 'GB2312', 'GBK', 'BIG5'));
    return mb_convert_encoding($content, 'utf-8', $encoding);
}
Example #2
0
		</div>
		<div class="span4">
		<blockquote>
				<p>
					查询人信息
				</p> <p><small></br><?php 
echo get_personinfo($_POST['xh'], $_POST['pw']);
?>
</small></p>
			</blockquote>
		</div>				
  </div>
  <div class="row-fluid">
		<div class="span12">
		<?php 
echo get_xuanxiu($_POST['xh'], $_POST['pw']);
?>
		</div>
	</div>
	
</div>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fc8c6b4ac78fb9378987b263d5babdb1a' type='text/javascript'%3E%3C/script%3E"));
</script>

</body>
</html>