-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
3,298 additions
and
0 deletions.
There are no files selected for viewing
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/aws.db/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/mongodb/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/mysql/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/oracle/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/postgresSql/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
464 changes: 464 additions & 0 deletions
464
sqlphp/developer-notes/databases/sql/sql.cheat.sheet(oracle,mysql,postgres.txt
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
sqlphp/developer-notes/php/corephp/shoppinc.cart/php.shopping.cart.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
>>>> PHP Shopping Cart <<<< | ||
|
||
|
||
|
||
------------------------------------------------------------------------- | ||
Key: | ||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
Shopping Cart Code: | ||
https://codeshack.io/shopping-cart-system-php-mysql/ | ||
|
||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
|
||
------------------------------------------------------------------------- | ||
|
||
shoppingcart : | ||
|
||
|
||
|
||
CREATE TABLE IF NOT EXISTS `products` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`name` varchar(200) NOT NULL, | ||
`desc` text NOT NULL, | ||
`price` decimal(7,2) NOT NULL, | ||
`rrp` decimal(7,2) NOT NULL DEFAULT '0.00', | ||
`quantity` int(11) NOT NULL, | ||
`img` text NOT NULL, | ||
`date_added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; | ||
|
||
INSERT INTO `products` (`id`, `name`, `desc`, `price`, `rrp`, `quantity`, `img`, `date_added`) VALUES | ||
(1, 'Smart Watch', '<p>Unique watch made with stainless steel, ideal for those that prefer interative watches.</p>\r\n<h3>Features</h3>\r\n<ul>\r\n<li>Powered by Android with built-in apps.</li>\r\n<li>Adjustable to fit most.</li>\r\n<li>Long battery life, continuous wear for up to 2 days.</li>\r\n<li>Lightweight design, comfort on your wrist.</li>\r\n</ul>', '29.99', '0.00', 10, 'watch.jpg', '2019-03-13 17:55:22'), | ||
(2, 'Wallet', '', '14.99', '19.99', 34, 'wallet.jpg', '2019-03-13 18:52:49'), | ||
(3, 'Headphones', '', '19.99', '0.00', 23, 'headphones.jpg', '2019-03-13 18:47:56'), | ||
(4, 'Digital Camera', '', '69.99', '0.00', 7, 'camera.jpg', '2019-03-13 17:42:04'); | ||
|
||
---------------------------------------------------------------------------------------------------------------- | ||
|
||
|
||
|