从php重定向到html不适用于标头

时间:2019-12-08 17:37:20

标签: php html mysql forms redirect

所以我有一个使用post方法向数据库发送html表单答案的表单

所以这是我的

lens = ends-starts
out = np.empty(lens.sum(),dtype=x.dtype)
start = 0
for (i,j,l) in zip(starts,ends,lens):
    out[start:start+l] = x[i:j]
    start += l

这是我的addTransactions.php文件

lens = ends-starts
lims = np.r_[0,lens].cumsum()
out = np.empty(lims[-1],dtype=x.dtype)
for (i,j,s,t) in zip(starts,ends,lims[:-1],lims[1:]):
    out[s:t] = x[i:j]

每当我提交它时,它都会重定向到php文件以将数据发送到数据库,但我希望它返回html页面并且标头重定向不起作用,它只会停留在http://localhost/dashboard/addTransaction.php

0 个答案:

没有答案
相关问题