tp5.1 Request()->param() obtains the problem of automatic rounding of GET parameters
葫芦娃平衡盘
葫芦娃平衡盘 2021-01-17 08:30:12
0
2
1684

Today I will build a TP verification ID function. I found that when a decimal is passed in through the GET method, the decimal will be automatically removed when printed. Is there any way to retain it?

葫芦娃平衡盘
葫芦娃平衡盘

reply all(1)
灭绝师太

tp6 can get and pass decimal points normally. When tp5 encounters http requests containing special characters, you can use JavaScript's escape() function to process special parameters

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template