Help with coding a Valentine program

How do I write a programming code that says either “I admire you, I respect you, I value you, I want you” at random if one enters “yes” to the question “Are you [person 1 name], [person 2 name]’s boyfriend?” and will give an error if they enter “no” forcing them to enter “yes” in a loop in PHP?

there’s a list of topics to read:

use extensive debugging on your variables:

Sponsor our Newsletter | Privacy Policy | Terms of Service