Traditional Culture Encyclopedia - Weather inquiry - How to capture the weather forecast with php? Let's talk about ideas first, and then give an example.

How to capture the weather forecast with php? Let's talk about ideas first, and then give an example.

I just made one yesterday and I'm going to use it myself. Since you asked, please share it!

PS: Because I'm from Heze, if you don't fill in anything, the weather in Heze will be displayed.

If you want to display something else, just enter it directly, such as "Hong Kong", and then submit it.

/data/ shunza /tq.php

I don't know if it is in line with the wishes of the landlord (no JS)