PHP

  • Sigh. I hate to write down this. I believe there should be other way to solve this.Its really unprofessional service. Since they got me 2 times. This time i should stop this and i think i should share this to others. If you believe your product is good, you should not have to worry customer…

    Baca catatan

  • Biasalah kadang bila dah banyak sangat install WordPress boleh lupa password admin.  Korang boleh juga reset password melalui email, nanti wordpress akan hantar reset password guna email. Tetapi  kalau korang tak set email atau ada masalah config email memang tak boleh guna cara email lah.

    Baca catatan

  • Or do you have other options for local server? They just release MAMP 5.1, with MySQL version update from 5.6 to 5.7.      Now they the free MAMP also get the PRO MAMP CLOUD features. Quite interesting features to try as i have problems to backup and manage all my apps databases.  What is…

    Baca catatan

  • Pernah tak ada masalah untuk install certain script because of PHP version yang lama. So tutorial ni adalah untuk update path PHP version. Dalam terminal  vim ~/.bash_profile Type i untuk  edit, masukkan code berikut (semak dalam MAMP yang betul) export PATH=/Applications/MAMP/bin/php/php7.1.1/bin:$PATH Tekan ESC, type “:wq” untuk write dan quit. Dalam terminal source ~/.bash_profile Semak php -v. 

    Baca catatan

  • Download at http://www.cssscript.com/generic-country-state-dropdown-list-countries-js/ Create public/js directory and put all the .js file inside. Create public/css directory and put all the .css file inside. Add to the master blade head tags <script type=”text/javascript” src=”{{ asset(‘js/countries.js’) }}”></script> Add to the bottom of master body tags area <script language=”javascript”> populateCountries(“country”, “state”); // first parameter is id of country drop-down…

    Baca catatan

  • Add jquery css in your header (view) <link rel=”stylesheet” href=”//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css”> Add jquery js in yoyr footer (view – body tags) <script> $(function() { $( “#datepicker” ).datepicker(); }); </script> Edit your forms {!! Form::text(‘date’, ”, array(‘id’ => ‘datepicker’,’class’ => ‘form-control’)) !!}   Reference: Laracast

    Baca catatan