Help with assigning input values to a variable

Hello,
I was hoping someone could help me learn how to writes script that uses the data typed into a text input field and submitted. Then this is assigned to a PHP variable. This instance is stored in an array.

What I want to later do is when an array is populated with string varabkes. Then when a user types in there name to an input text field it checks among the array to see of the person is a register user. If so then it will say Welcome, $username
if not found it will say Hello, $username you are not a registered user /n + would u like to register?;

I hope someone can help me with this and if u have any questions, comments, concerns, or solutions :slight_smile: Please reply.

Regards & I hope to hear from you soon,
Team 1504

You can look into variable variables…but be very careful =)