and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi
I have attached the screenshots and code for the table. Can anyone look at it. How to do it with PHP and Mysql? I want to select few activities from the left textarea and move to the right textarea. I guess everybody saw this concept on other websites...
[syntax="html"]<table width="582" border="0">
<tr>
<td width="167" class="form_text">Available Activities </td>
<td width="112"> </td>
<td width="153"> </td>
<td width="6"> </td>
<td width="176"> </td>
</tr>
<tr>
<td rowspan="2" align="left"><textarea name="textarea" rows="10">A
B
B
C
C
C
D
D
F
F
G
H
H
S
S
S
S
S
W
W</textarea></td>
<td rowspan="2" align="center" valign="middle"><input type="button" value="Add >>" name="add2" />
<input type="button" value="<< Remove" name="add12" />
<br /></td>
<td colspan="2" rowspan="2"><textarea name="textarea" rows="10"></textarea></td>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Arbitrary selection detection and manipulation isn't the most simple of subjects for the most part. As such, it may be a subject that a newbie should avoid until later.
Am I correct that the text is supposed to be static? As in, the user is not supposed to be able to alter it. If so, a list box is more appropriate and far more simple to produce the desired behaviors. I know we've had several threads on the subject..
yes its a static text. you suggested a list box for this, how can I make multiple selection of the text with list box as I need to parse multiple text to database?
yes its a static text. you suggested a list box for this, how can I make multiple selection of the text with list box as I need to parse multiple text to database?