How would I use php to generate random XML files?

前端 未结 1 1888
长情又很酷
长情又很酷 2021-01-26 10:01

I am trying to write a php that would generate random XML Files that I\'ve previously written. As this php code generate random numbers between 10-30:



        
相关标签:
1条回答
  • 2021-01-26 10:26

    you can store the xml files names in an array then use array_rand() to pick one randomly

    0 讨论(0)
提交回复
热议问题