Results 1 to 11 of 11

Thread: PHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167

    PHP

    . ( ) PHP.


    ASP , ASP. PHP .
    - , .
    Last edited by hotris; 26th December 2009 at 20:45.

  2. #2
    Registered User fly's Avatar
    Join Date: Jun:2005
    Location:
    Posts: 803
    JavaScript ?

  3. #3
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    JavaScript . , .

  4. #4
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    PHP Code:
    <?php

    $tableCol 
    = array(4684343.4356454654);
    $multiplier 2;

    echo 
    '<table>';

    foreach (
    $tableCol as $val) {
        echo 
    '<tr>';
        echo 
    '<td>' $val '</td>';
        echo 
    '<td>' $multiplier '</td>';
        echo 
    '<td>' $val $multiplier '</td>';
        echo 
    '</tr>';
    }

    echo 
    '</table>';

    ?>
    ?
    ''? * *
    - !
    ...

  5. #5
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    . . , .

    , .
    Last edited by hotris; 27th December 2009 at 00:43.

  6. #6
    gibona's Avatar
    Join Date: Feb:2005
    Location: Sofia
    Posts: 3,074
    php Submit , - javascript AJAX, javascript

  7. #7
    Unregistered User Dimitar+'s Avatar
    Join Date: Dec:2008
    Location:
    Posts: 159

  8. #8
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    Quote Originally Posted by Dimitar+ View Post
    Code:
    //setInterval("calculate()",1);
    
    window.onload=function(){
    calculate();
    }
    </script>
    </head>
    <body>
    <table border=1>
    <tr><td>
    <input type="text" class="text" value="2" id="td1" onclick="this.value=''" onKeyUp="calculate()">
    </td>
    <td>
    <input type="text" class="text" value="4" id="td2" onclick="this.value=''" onKeyUp="calculate()">
    1000 . ?
    .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  9. #9
    Registered User genn's Avatar
    Join Date: Feb:2003
    Location:
    Posts: 1,215
    :

    http://vaxas-place.com/test/tablica.html



    jQuery :
    Code:
    $( function(){
    
    	$("table#calc input").change( function(){
    			$(this).parent().siblings("td:last")
    			.text( parseFloat( $(this).parent().siblings("td:first").text() ) * parseFloat( $(this).val() ) );
    	} );
    
    }
    );

    id="calc".
    , id. .
    , NaN, .
    Enter .

  10. #10
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    @Dimitar+ - . php ... - .. MySQL . . .

  11. #11
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    genn! .
    , .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |