Kamus Malangan di PHP

nah pada kali ini, saya akan memberikan sebuah script yang didalamnya terdapat sebuah kamus malangan, mungkin ini sudah biasa yang terjadi khususnya oleh orang-orang malang, tapi akan beda sekali jika ada orang yang di luar malang kemudian berkomunikasi dengan orang malang, pasti mereka akan binggung untuk berkomunikasi, karena orang malang sukanya pasti membalik-balik kata, misalnya untuk "makan", orang malang pasti bilangan nya "nakam", atau 'pulang' dan pastinya akan bilang "ngalup".




agar tidak binggung bagi saudara-saudara yang baru ke malang dan biar gak binggung, nih kamus nya..........


index.php
<html>
<head><title>Kamus Malang</title>
</head>

<body>
<form id="form1" name="form1" method="get" action="blog.php">
  NAMA :
  <label>
  <input type="text" name="textnama" />
  </label>   
  <p>
    <label></label>
    <input type="submit" name="Submit" value="OK" />
  </p>
</form>

</body>
</html>

 

<?php

$nama=$_GET['textnama'];
$hasil="";
for($i=strlen($nama);$i>=0;$i--) {

    if (substr($nama,$i-1,2)=='ng') {
        if (substr($nama,$i,2)){
            echo 'ng';
            $i=$i-1;
        }
           
    }
    
    else if (substr($nama,$i-1,2)=='NG') {
        if (substr($nama,$i,2)){
            echo 'NG';
            $i=$i-1;
        }
           
    }
    
    else {
            echo substr($nama,$i,1);
           
        }
     

}
?>




GAMBAR SEBELUM DI BALIK

GAMBAR SESUDAH DI BALIK
                                   


                                                        

selamat menikmati ya............
trimakasih.


by. Azizan Nur Rohman-STIMATA MALANG '09'

Subscribe to receive free email updates:

5 Responses to "Kamus Malangan di PHP"

  1. opo Nis, ni budaya malang, hrus di lestarikan, heheh.........

    BalasHapus
  2. Would you like to recoup your secret phrase issues? Once in a while, clients confront secret word issues. Losing the secret key in some cases may make enormous inconveniences. To recoup secret word on the lasting premise, you should take the help from the specialists by dialing 24*7 accessible Blockchain Support Phone number and resolve your inquiries. They convey quality-situated arrangements and traps that evacuate your blunder at all conceivable time. The specialists are dynamic throughout the day and night to manage the clients the correct way.

    BalasHapus
  3. Now a days enterprises can be more concern about scalability of the enterprise . Big enterprises can do multiple transaction with in a second can also do tied ups with multiple portals for their business development. But in some cases if they use only Gemini Exchange for their transactions but they are unable to perform multilple transactions with in a day. They performs a few transactions within a day its sometime a major issue for big enterprises or for large business man and you think what you can do you simply call on our Gemini customer care number or Gemini customer Support Number +1 (800) 861-8259 and our team help you to fix out such types of issues.

    BalasHapus
  4. Is it true that you are related with Binance? It is safe to say that you are a Binance client who is having inconveniences managing a circumstance where you are unfit to send and get the bitcoin? Is it accurate to say that you are exhausted of this and need superlative help promptly to get you out of this hover of blunders? Is yes then Binance Customer service Number +1(877)209-3306 is your one-stop arrangement. So as to get straightforwardly in contact with an individual from the super-first class Binance group. The group is constantly dedicated to serving the most ideal and open support of its clients.

    BalasHapus