Hi guys I have the following intention and would really like to know if tis possible and if its possible how should it be done. I have a string that is something like this: "<INPUT TYPE=BUTTON Value=' « ' onClick="self.location='/s/979216/22/'"><SELECT title='chapter navigation' Name=chapter onChange="self.location = '/s/979216/'+ this.options[this.selectedIndex].value + '/';"><option value=1 >1. Prologue<option value=2 >2. First days<option value=3 >3. Drastic choice<option value=4 >4. Sowarocs<option value=5 >5. Training<option value=6 >6. Teneb</select>" How can I retrieve the Values and assign it to a variable, and next retrieve the name and assign it to another variable and so on... I'd like to get something like: 1 1. Prologue 2 2. First days 3 3. Drastic choice 4 4. Sowarocs 5 5. Training 6 6. Teneb and eacch of these should be in a variable, remembering that the number of variables is dynamic so it can be only one or 100. Thanks guys, Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php