Ok, I have an interface with 3 fields in a form, the first field is for area code, the second for the first 3 digits in the phone number, and the last field is for the last 4 digits in the phone number.
How do I take those 3 values and put them into one variable and add hyphens, areacode-3numbers-4numbers. i.e. 701-534-2342
Would I do it like this:
$pnumber=(.$acode + .$prnumber + .$ponumber);
Obviously not since my code isn't working, lol. So how would I do it? And also, how would I add hyphens in the above code between each set of numbers.
Thank You
MK