This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$json_string = '[{"overall":"25"}]'; | |
$json_array = json_decode($json_string); | |
echo $json_array[0]->overall; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('select').change(function() { | |
if (this.val() == 6) { | |
$('#un').disabled = false; | |
$('#uas').disabled = false; | |
} else { | |
$('#un').disabled = true; | |
$('#uas').disabled = true; | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sql = mysql_query('SELECT * FROM jurusan WHERE jml_siswa < 30'); | |
?> | |
<select name="pil_satu"> | |
<?php while ($data = mysql_fetch_array($sql)) : ?> | |
<option value="<?php echo $data['id']; ?>"><?php echo $data['nama']; ?></option> | |
<?php endwhile; ?> | |
</select> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table style="background-image: url(http://office.travelairpng.com/images/11.png);" cellpadding="5" cellspacing="0"> | |
<tbody> | |
<tr> | |
<td class="toptext" colspan="2"> | |
Top text | |
</td> | |
</tr> | |
<tr> | |
<td class="lefttext" rowspan="2"> | |
<div class="vertical-text">Mount Hagen</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
FORM DI SINI | |
--> | |
<div class="html-response"></div> | |
<script type="text/javascript" src="jquery.js"></script> | |
<script type="text/javascript"> |
NewerOlder