define('DB_COLLATE', '');add this after/below it
define( 'DB_HOST', '127.0.0.1:3307' );
click to open large |
Then it settle, you should able to serve on port that you've change to.
All muhaza's note in developing website. Front-end & uiux method. Real life implementation for webdesigner.
C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php
php_openssl.dll
text. You should see that the extension is commented out:;extension=php_openssl.dll
;
character and save the changes.extension=php_curl.dll
.<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <div id="demo"> <p>The initial text</p> </div> <script> $(document).ready(function(){ $('#demo').text('The replaced text.'); }); </script> </body> </html>
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <div id="demo"> <p>The initial text</p> </div> <script> $(document).ready(function(){ $('#demo').html('<b>The replaced text.</b>'); }); </script> </body> </html>
<?php
if(!defined('MyConst')) {
die('Direct access not permitted');
}
?>
<?php
define('MyConst', TRUE);
?>
<div class="navigation-bar" style="margin:1em 30%;">
<form action="" method="POST" style="display:inline;">
<input type="submit" value="Hello World" name="about" class="btn">
</form>
<form action="" method="POST" style="display:inline;">
<input type="submit" value="How Are You" name="how" class="btn">
</form>
<form action="" method="POST" style="display:inline;">
<button type="submit" value="How Are You" name="home" class="btn"> Home </button>
</form>
</div>
<br>
<?php
if (isset($_POST["about"]))
{
echo "Hello World";
};
if (isset($_POST["how"]))
{
echo "hello world How are you today";
};
if (isset($_POST["home"])) {
include "ifelse.php";
}
?>
See the Pen Vue : guna $emit @blur dalam template & root methods by muhaza (@muhaza) on CodePen.
wait!.. the example on load...1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <!DOCTYPE html> <html lang="en"> <head> <title>Component No1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.css"> <style> body{ padding-top:40px; } </style> </head> <body> <div id="root" class="container"> <componentName title="Hello World" body="lorem ipsum dolar sit amet."></componentName> <componentName title="Success" body="creating component by using props on components"></componentName> </div> <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script> <script src="component.js"></script> </body> </html> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | Vue.component('componentName', { props: ['componentProps',], data(){ return{ componentCondition: true, //boolean } }, template: ` <article class="message is-warning" v-show="inVisible"> <div class="message-header"> {{ title }} <button type="button" @click="clickMethod">x</button> </div> <div class="message-body"> {{ body }} </div> </article> `, methods:{ clickMethod(){ this.componentCondition = false; //methods is events+data= result } } }); new Vue({ el:'#root' //div id on html }); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <!DOCTYPE html> <html lang="en"> <head> <title>Document</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"> </head> <body> <div id="root"> <ul> <li v-for="name in names" v-text="name"></li> </ul> <input id="input" type="text" v-model="newName"> <button v-on:click="addName"> Add Name</button> </div> <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script> <script> var dev = new Vue({ el: '#root', data: { names: ['hafiz', 'muhaza', 'spikey'], newName:'', }, methods:{ addName() { this.names.push(this.newName); } } }) </script> </body> </html> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <span id="mangsa">Dokument syarikat</span> <script> var kuliPencuri = document.getElementById("mangsa"); var bosPencuri = function() { kuliPencuri.innerHTML = `<b>Dokument syarikat</b>`; }; kuliPencuri.addEventListener("click", bosPencuri); </script> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <span id="mangsa">Dokument syarikat</span> <script> var kuliPencuri = document.getElementById("mangsa"); var bosPencuri = function() { kuliPencuri.textContent = "Dokument Palsu"; }; kuliPencuri.addEventListener("click", bosPencuri); </script> |
<a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...