I am writing a routine in php that takes info entered into a text box by a user, explode() it, then place it into certain textboxes by using java (or so is the plan right now). Problem I am encountering, is that when a user copies the table info from IE, it is return delimeted, wherebye firefox, it is not. I need some help in order to make this thing compatible for both engines.
here is a sample of the data from IE:
And here is this same code from FireFox:
I know this because I copied it to Word, and that is how the info is displayed. If I only had to worry about IE, I would do a 'explode("\n",$REPORT)', but im not sure how to handle it with firefox.
On a side not, is it plausible that once I have this info exploded into an array, I then use Java to populate the appropriate text boxes?
Thanx in Advance.
here is a sample of the data from IE:
Code:
John Doe \n
Address 1919 Mockingbird Lane City Anytown \n
State Anystate Country Anycountry \n
ZipCode 99999 Member Number 000001 \n
And here is this same code from FireFox:
Code:
John Doe Address 1919 Mockingbird Lane City Anytown State Anystate Country Anycountry ZipCode 99999 Member Number 000001 \n
I know this because I copied it to Word, and that is how the info is displayed. If I only had to worry about IE, I would do a 'explode("\n",$REPORT)', but im not sure how to handle it with firefox.
On a side not, is it plausible that once I have this info exploded into an array, I then use Java to populate the appropriate text boxes?
Thanx in Advance.