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 | |
| /** | |
| * Mini-cart | |
| * | |
| * Contains the markup for the mini-cart, used by the cart widget. | |
| * | |
| * This template can be overridden by copying it to yourtheme/woocommerce/cart/mini-cart.php. | |
| * | |
| * HOWEVER, on occasion WooCommerce will need to update template files and you | |
| * (the theme developer) will need to copy the new files to your theme to |
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
| Dowload install node | |
| install angular CLI | |
| ng new 'project name' | |
| ng serve --port 4300 | |
| ng generate component 'component name' | |
| https://jasonwatmore.com/post/2019/06/10/angular-8-user-registration-and-login-example-tutorial#login-component-html |
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 | |
| if(isset($_POST["submit"])) | |
| { | |
| $url='localhost'; | |
| $username='root'; | |
| $password=''; | |
| //$conn=mysqli_connect($url,$username,$password,"location"); | |
| $conn=mysqli_connect("localhost", "euodias_dev1", "euodias_dev1@321!", "euodias_redrope"); | |
| if(!$conn){ |
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
| https://blog.cloudboost.io/creating-your-first-mern-stack-application-b6604d12e4d3 | |
| https://medium.com/swlh/how-to-create-your-first-mern-mongodb-express-js-react-js-and-node-js-stack-7e8b20463e66 | |
| https://www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/ | |
| npm (node package manager) is the dependency/package manager | |
| http://localhost:3000/ |
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
| // from date to date restrictions | |
| $("#from_date").datepicker({ | |
| format: 'dd-mm-yyyy', | |
| //minDate: new Date('02-09-2021'), | |
| //maxDate: new Date(), | |
| autoClose: true, | |
| onSelect: function(dateText) { | |
| var dateMin = $('#from_date').datepicker("getDate"); | |
| //var datee = new Date($("#from_date").val());console.log(datee); |
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
| API code: | |
| <?php | |
| $hostname = "localhost"; | |
| $username = "id21145254_devjas"; | |
| $password = "Peter@007"; | |
| $database = "id21145254_devjas"; | |
| $mysqli = new mysqli($hostname, $username, $password, $database); | |
| if ($mysqli->connect_error) { |
OlderNewer