gpt4 book ai didi

php - 如何在php中多次提交生成pdf

转载 作者:行者123 更新时间:2023-11-30 21:43:04 25 4
gpt4 key购买 nike

我在面试中被问到一个问题。

Generate a PDF from multiple submissions. In the image you can see there is one form that contains name, email, phno, and country which will open one by one on click of "next" button and at last there is a "SUBMIT" button (slider I can use for next), which will generate the PDF containing all submitted data for that particular user.

enter image description here

Don't generate a PDF every time submit is clicked. Instead the user will fill out the form many times and than generate the PDF with all of the entries together in one PDF file.

例如我填写了这个类似的表格 5 次,最后我将生成所有组合数据的 PDF。

条件是不能存入Database,也不能存入session。

最佳答案

可以保存在cookie或者localstorage中的tmp数据,最后提交发送数据生成pdf

关于php - 如何在php中多次提交生成pdf,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50712229/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com