나는 login.html
에 대한 템플릿이 있습니다. 줄이 있습니다 : <h5>© Your Company</h5>
. 회사 이름을 MySQL 데이터베이스에서 가져 오길 원합니다. 나는 compnayname.php
파일을 가지고 어디에서 회사 명을 얻었습니까? 이 코드를 다음 코드에 어떻게 구현할 수 있습니까? 감사.데이터는 MySQL 데이터베이스에서 html로
<div id="container">
<hgroup id="login-title" class="large-margin-bottom">
<h1 class="login-title-image">Company</h1>
<h5>© Your Company</h5>
</hgroup>
<form method="post" action="" id="form-login">
<ul class="inputs black-input large">
<!-- The autocomplete="off" attributes is the only way to prevent webkit browsers from filling the inputs with yellow -->
<li><span class="icon-user mid-margin-right"></span><input type="text" name="login" id="login" value="" class="input-unstyled" placeholder="Login" autocomplete="off"></li>
<li><span class="icon-lock mid-margin-right"></span><input type="password" name="pass" id="pass" value="" class="input-unstyled" placeholder="Password" autocomplete="off"></li>
</ul>
<button type="submit" class="button glossy full-width huge">Login</button>
</form>
</div>
이 파일'로그인을 변수 이름을 에코. php' 파일을 포함하고 거기에'company_name.php' 파일을 포함합니다 –