www.webdeveloper.com
Results 1 to 3 of 3

Thread: how to get cell values of cloned row of html table into php variable

  1. #1
    Join Date
    Jun 2013
    Posts
    33

    how to get cell values of cloned row of html table into php variable

    here's code...

    Code:
    <table id="cloned tr">
    </table>
    
    <?php
    
    $cell_value1 = ???;
    ?>
    after cloning...table["cloned tr"] will be like this...
    
    <table id="cloned tr">
    <tr>
        <td>something 1<td>
        <td>destiny<td>
        <td>something 3<td>
        <td>something 4<td>
    </tr>
    more such rows...
    i want "destiny" in the php variable "cell_value"

  2. #2
    Join Date
    Jul 2013
    Posts
    350
    After 154 views I think it is pretty clear that nobody understands what you are asking. Maybe re-write your description of what you want?

  3. #3
    Join Date
    Sep 2013
    Posts
    221
    If you want to assign html table cell value to php variable ,if this is what you are looking for then you can try out with the below code:

    You can use an input type hidden wrapped in a form.

    <td><input type="hidden" name="value" value="your_value">Your Value</td>

    At that point, you can either post the value and use it for your query.

    Hope this helps.
    strad solutionswww.stradsolutions.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles