Results 1 to 11 of 11
Thread: PHP
Hybrid View
-
26th December 2009 20:40 #1
PHP
. ( ) PHP.

ASP , ASP. PHP .
- , .Last edited by hotris; 26th December 2009 at 20:45.
-
26th December 2009 20:52 #2
-
26th December 2009 21:45 #3
-
26th December 2009 22:19 #4?PHP Code:
<?php
$tableCol = array(468, 4343.43, 564, 54654);
$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>';
?>
''? * *
- !
...
-
27th December 2009 00:27 #5
. . , .

, .Last edited by hotris; 27th December 2009 at 00:43.
-
27th December 2009 01:08 #6
-
27th December 2009 03:53 #7
-
27th December 2009 08:18 #81000 . ?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()">
.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|
-
27th December 2009 11:19 #9
:
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 .
-
27th December 2009 04:13 #10
@Dimitar+ - . php ... - .. MySQL . . .
-
27th December 2009 17:20 #11




Reply With Quote


Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in