Professional Documents
Culture Documents
DOCTYPE html>
<html>
<body>
<?php
$input = "Total pembelian Baju sebesar 675.000";
//print_r($expInput);
//echo $expInput[6];
echo end($expInput);
?>
</body>
</html>
<?php
class Fruit {
// Properties
public $name;
public $color;
// Methods
function set_name($name) {
$this->name = $name;
}
function get_name() {
return $this->name;
}
function set_color($color) {
$this->color = $color;
}
function get_color() {
return $this->color;
}
}
https://www.youtube.com/watch?v=r-
r6IhsE5vg&list=PLFIM0718LjIVdFn6LHoD5gJ8UjvI1Baqp&index=3
16.24