我正在为一个带有 php 的网站构建一个 CMS。我在一个页面上有多个表单,这些表单会发布给自己。每次页面重新加载以填充表单时,它都会显示页面顶部。(像往常一样)下面的伪代码可以更好地说明我的问题:
<Form 1>(top of page)
bla
bla
bla
</form1>
<Form 2>(middle of page)
bla
bla
bla
</form2>
<Form 3>(bottom of page) (how do i get this to show at the top when the page reloads?)
bla
bla
bla
</form3>
我觉得我没有看到一个简单的方法。但它已经晚了,它就是那样的一天。像往常一样提前感谢大家。