Basically, I want to enter text into a text area, and then use them. For example
variable1:variable2@variable3
variable1:variable2@variable3
variable1:variable2@variable3
I know I could use explode to make each line into an array, and then use a foreach loop to use each line separately, but how would I separate the three variables to use?
try preg_split http://php.net/manual/en/function.preg-split.php