0
I’m trying to make a random word generator, where through a button (Rotate or Rotate), it searches in a file txt
external, or even from a database, the word and show to on the screen.
The idea is a system similar to spelling, where I will have 3 levels from basic to advanced.
What have you tried?
– Valdeir Psr
I tried the colleague’s solution from the link below but it’s not quite what I need. https://answall.com/questions/67838/gerar-uma-palavra-entre-palavras-definidas-php
– Ricardo Belfort
If you use a file with words separated by a line break, you can use the function
file
to read this file and then do as the indicated response suggests.– Valdeir Psr