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?
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
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