本文整理匯總了PHP中Submission::create_form_field方法的典型用法代碼示例。如果您正苦於以下問題:PHP Submission::create_form_field方法的具體用法?PHP Submission::create_form_field怎麽用?PHP Submission::create_form_field使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Submission
的用法示例。
在下文中一共展示了Submission::create_form_field方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
">
<label for="login">Login:</label>
<input type="text" name="login" size="20" ><br>
<label for="password">Password:</label>
<input type="password" name="password" size="8" value="<?php
if (isset($_POST['password'])) {
echo $_POST['password'];
}
?>
"><br>
<?php
// echo $add_submission->create_form_field("login", "Login:");
// echo $add_submission->create_form_field("password", "Password:");
echo $add_submission->create_form_field("db", "Database:");
echo $add_submission->create_form_field("var1", "Variable 1:");
echo $add_submission->create_form_field("var2", "Variable 2:");
echo $add_submission->create_form_field("ranges", "Ranges:");
echo $add_submission->create_form_field("history", "History:");
?>
<label for="Submit">Submit</label>
<input type="submit" name="Submit" value="Update">
</form>
</div>
<p><a href="<?php
echo $add_submission->main_page;
?>
">Main</a></p>