Programováni - jste pro srandu ?
Napsal: 19 čer 2013 21:52
Zdravím, přicházím s novým nápadem, který není tak těžko realizovatelný, co kdybychom si vybírali opravdu ale opravdu ty největší faily v programování, přikládám jeden :
- Chlapec asi nezná cykly.
Zdroj : hovnokod.cz
Kód: Vybrat vše
$subtotal1 = $_POST['item1Ks'] * $_POST['item1Kcks'];
$subtotal2 = $_POST['item2Ks'] * $_POST['item2Kcks'];
$subtotal3 = $_POST['item3Ks'] * $_POST['item3Kcks'];
$subtotal4 = $_POST['item4Ks'] * $_POST['item4Kcks'];
$subtotal5 = $_POST['item5Ks'] * $_POST['item5Kcks'];
$subtotal6 = $_POST['item6Ks'] * $_POST['item6Kcks'];
$subtotal7 = $_POST['item7Ks'] * $_POST['item7Kcks'];
$subtotal8 = $_POST['item8Ks'] * $_POST['item8Kcks'];
$subtotal9 = $_POST['item9Ks'] * $_POST['item9Kcks'];
$subtotal10 = $_POST['item10Ks'] * $_POST['item10Kcks'];
$subtotal11 = $_POST['item11Ks'] * $_POST['item11Kcks'];
$subtotal12 = $_POST['item12Ks'] * $_POST['item12Kcks'];
$subtotal13 = $_POST['item13Ks'] * $_POST['item13Kcks'];
$subtotal14 = $_POST['item14Ks'] * $_POST['item14Kcks'];
$subtotal15 = $_POST['item15Ks'] * $_POST['item15Kcks'];
$subtotal16 = $_POST['item16Ks'] * $_POST['item16Kcks'];
$subtotal18 = $_POST['item18Subtotal'];
$subtotal19 = $_POST['item19Subtotal'];
$subtotal20 = $_POST['item20Subtotal'];
$subtotal21 = $_POST['item21Subtotal'];
$subtotal22 = $_POST['item22Subtotal'];
$subtotal23 = $_POST['item23Subtotal'];
$total = $subtotal1 + $subtotal2 + $subtotal3 + $subtotal4 + $subtotal5 +
$subtotal6 + $subtotal7 + $subtotal8 + $subtotal9 + $subtotal10 +
$subtotal11 + $subtotal12 + $subtotal13 + $subtotal14 + $subtotal15 +
$subtotal16 + $subtotal18 + $subtotal19 + $subtotal20 +
$subtotal21 + $subtotal22 + $subtotal23;
- Chlapec asi nezná cykly.
Zdroj : hovnokod.cz