本文整理汇总了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>