我想借此.PHP登錄腳本,使它看起來像我的HTML網頁的其餘部分。如何使PHP與PHP的工作?
有人告訴我,我可以通過使用.css和這個腳本做到這一點:
<link rel="stylesheet" type="text/css" href="style.css" />
的事情是什麼我與該腳本嗎?我需要採取html文件並使其與我的.php一起工作,以便我的登錄頁面與我的網站的其餘部分相匹配,而不僅僅是一個帶有用戶名和密碼框的白頁。謝謝。
<?php include('_header.php'); ?>
<form method="post" action="index.php" name="loginform">
<label for="user_name"><?php echo WORDING_USERNAME; ?></label>
<input id="user_name" type="text" name="user_name" required />
<label for="user_password"><?php echo WORDING_PASSWORD; ?></label>
<input id="user_password" type="password" name="user_password" autocomplete="off" required />
<input type="checkbox" id="user_rememberme" name="user_rememberme" value="1" />
<label for="user_rememberme">
<?php echo WORDING_REMEMBER_ME;
你知道嗎,你可以在一個頁面中混合在一起HTML,CSS,JavaScript和PHP?你可以使用它來結合PHP和CSS。 –
Grap一本書,並學習編碼! – GuyT
歡迎來到本站!這個問題並沒有意義。你的問題到底是什麼? –