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://github.com/arvindsvt/simplest-php-router | |
| <?php | |
| class Request { | |
| private $method; | |
| private $path; | |
| function __construct($method, $path) { | |
| $this->method = $method; |
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 | |
| class Address { | |
| protected $city; | |
| public function getCity() { | |
| return $this->city; | |
| } | |
| public function setCity($city) { | |
| $this->city=$city; | |
| } |
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://businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/ | |
| add_action( 'woocommerce_before_main_content', 'bbloomer_custom_action', 15 ); | |
| function bbloomer_custom_action() { | |
| echo 'TEST'; | |
| } | |
| remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 ); | |
| remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); |
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://www.thesoftwareguy.in/create-category-tree-php-mysql/ | |
| https://www.codexworld.com/dynamic-category-subcategory-tree-php-mysql/ | |
| <?php | |
| $dbHost = "localhost"; | |
| $dbUsername = "root"; | |
| $dbPassword = "usbw"; | |
| $dbName = "codexworld"; | |
| // Create database connection |