PHP Random Word Generator

Asked

Viewed 609 times

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.

  • 2

    What have you tried?

  • 1

    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

  • 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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.