├── mynewfile.txt ├── .gitignore ├── makethisfilestaged.txt ├── statics ├── logo.png ├── homebg.jpg ├── rohit.jpeg ├── abstbg2.png ├── favicon.ico ├── finance.png ├── 5570834-min.jpg ├── favicon-16x16.png ├── favicon-32x32.png ├── PngItem_5146697.png ├── apple-touch-icon.png ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── —Pngtree—creative abstract wave design_5759740.png └── site.webmanifest ├── README.md ├── spin.php ├── .github └── workflows │ ├── main_basicbank.yml │ └── main_bankbyrohit.yml ├── about_us.php ├── dbrohit.sql ├── transactions.php ├── all_cust.php ├── check_blc.php ├── contact_us.php ├── index.php └── send_money.php /mynewfile.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ignore.txt -------------------------------------------------------------------------------- /makethisfilestaged.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /statics/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/logo.png -------------------------------------------------------------------------------- /statics/homebg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/homebg.jpg -------------------------------------------------------------------------------- /statics/rohit.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/rohit.jpeg -------------------------------------------------------------------------------- /statics/abstbg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/abstbg2.png -------------------------------------------------------------------------------- /statics/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/favicon.ico -------------------------------------------------------------------------------- /statics/finance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/finance.png -------------------------------------------------------------------------------- /statics/5570834-min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/5570834-min.jpg -------------------------------------------------------------------------------- /statics/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/favicon-16x16.png -------------------------------------------------------------------------------- /statics/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/favicon-32x32.png -------------------------------------------------------------------------------- /statics/PngItem_5146697.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/PngItem_5146697.png -------------------------------------------------------------------------------- /statics/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/apple-touch-icon.png -------------------------------------------------------------------------------- /statics/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/android-chrome-192x192.png -------------------------------------------------------------------------------- /statics/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/android-chrome-512x512.png -------------------------------------------------------------------------------- /statics/—Pngtree—creative abstract wave design_5759740.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rohitm619/Basic-Banking-System/HEAD/statics/—Pngtree—creative abstract wave design_5759740.png -------------------------------------------------------------------------------- /statics/site.webmanifest: -------------------------------------------------------------------------------- 1 | {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Basic-Banking-System 2 | 3 | ## Deployed Website Link -> http://rohitsparksbank.great-site.net/ 4 | 5 | 1. Fork the respo (Give ⭐ incase you like the work) 6 | 2. Clone the repo in your local machine. 7 | 3. Create the database "dbrohit" or any other named (change the settings in spin.php incase you create other named database) 8 | 4. Import the tables by using "dbrohit.sql" 9 | -------------------------------------------------------------------------------- /spin.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 22 | 23 | 31 | 32 | 33 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /.github/workflows/main_basicbank.yml: -------------------------------------------------------------------------------- 1 | # Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy 2 | # More GitHub Actions for Azure: https://github.com/Azure/actions 3 | 4 | name: Build and deploy PHP app to Azure Web App - basicbank 5 | 6 | on: 7 | push: 8 | branches: 9 | - main 10 | workflow_dispatch: 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - uses: actions/checkout@v2 18 | 19 | - name: Setup PHP 20 | uses: shivammathur/setup-php@v2 21 | with: 22 | php-version: '8.2' 23 | 24 | - name: Check if composer.json exists 25 | id: check_files 26 | uses: andstor/file-existence-action@v1 27 | with: 28 | files: 'composer.json' 29 | 30 | - name: Run composer install if composer.json exists 31 | if: steps.check_files.outputs.files_exists == 'true' 32 | run: composer validate --no-check-publish && composer install --prefer-dist --no-progress 33 | 34 | - name: Upload artifact for deployment job 35 | uses: actions/upload-artifact@v2 36 | with: 37 | name: php-app 38 | path: . 39 | 40 | deploy: 41 | runs-on: ubuntu-latest 42 | needs: build 43 | environment: 44 | name: 'Production' 45 | url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} 46 | 47 | steps: 48 | - name: Download artifact from build job 49 | uses: actions/download-artifact@v2 50 | with: 51 | name: php-app 52 | 53 | - name: 'Deploy to Azure Web App' 54 | uses: azure/webapps-deploy@v2 55 | id: deploy-to-webapp 56 | with: 57 | app-name: 'basicbank' 58 | slot-name: 'Production' 59 | publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_7F99CAB5CA1546C0BB7E71EA9EF6353F }} 60 | package: . 61 | -------------------------------------------------------------------------------- /.github/workflows/main_bankbyrohit.yml: -------------------------------------------------------------------------------- 1 | # Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy 2 | # More GitHub Actions for Azure: https://github.com/Azure/actions 3 | 4 | name: Build and deploy PHP app to Azure Web App - bankbyrohit 5 | 6 | on: 7 | push: 8 | branches: 9 | - main 10 | workflow_dispatch: 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - uses: actions/checkout@v2 18 | 19 | - name: Setup PHP 20 | uses: shivammathur/setup-php@v2 21 | with: 22 | php-version: '8.0' 23 | 24 | - name: Check if composer.json exists 25 | id: check_files 26 | uses: andstor/file-existence-action@v1 27 | with: 28 | files: 'composer.json' 29 | 30 | - name: Run composer install if composer.json exists 31 | if: steps.check_files.outputs.files_exists == 'true' 32 | run: composer validate --no-check-publish && composer install --prefer-dist --no-progress 33 | 34 | - name: Upload artifact for deployment job 35 | uses: actions/upload-artifact@v2 36 | with: 37 | name: php-app 38 | path: . 39 | 40 | deploy: 41 | runs-on: ubuntu-latest 42 | needs: build 43 | environment: 44 | name: 'Production' 45 | url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} 46 | 47 | steps: 48 | - name: Download artifact from build job 49 | uses: actions/download-artifact@v2 50 | with: 51 | name: php-app 52 | 53 | - name: 'Deploy to Azure Web App' 54 | uses: azure/webapps-deploy@v2 55 | id: deploy-to-webapp 56 | with: 57 | app-name: 'bankbyrohit' 58 | slot-name: 'Production' 59 | publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_ADD789E852A547F6A6E214C9A3A5C34E }} 60 | package: . 61 | -------------------------------------------------------------------------------- /about_us.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 18 | 19 | About us - Sparks Bank 20 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 67 | 68 | 69 | 70 |
71 |
72 |
74 |

About Us

75 |
76 |

77 | 78 |

79 |

This website is created by

80 |

Rohit Mahajan

81 |

Intern at Sparks Foundation
Sinhgad Academy of Engineering, Pune

82 |
83 | 84 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /dbrohit.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.0.2 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Jul 08, 2021 at 06:52 AM 7 | -- Server version: 10.4.14-MariaDB 8 | -- PHP Version: 7.4.9 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `dbrohit` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `contactus` 28 | -- 29 | 30 | CREATE TABLE `contactus` ( 31 | `sr` int(11) NOT NULL, 32 | `name` varchar(50) NOT NULL, 33 | `email` varchar(20) NOT NULL, 34 | `message` mediumtext NOT NULL 35 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 36 | 37 | -- 38 | -- Dumping data for table `contactus` 39 | -- 40 | 41 | INSERT INTO `contactus` (`sr`, `name`, `email`, `message`) VALUES 42 | (13, 'Rohit Mahajan', 'rohitm.official404@g', 'What is the python course fee?'), 43 | (14, 'Rohit', 'adef32795@gmail.com', 'This is a demo paregraph!'), 44 | (15, 'Rohit', 'adef327095@gmail.com', 'This is a para!'), 45 | (16, '', '', ''), 46 | (17, '', '', ''), 47 | (18, '', '', ''), 48 | (19, 'Rohit Mahajan', 'rdm@gmail.com', 'this is my new contact email'); 49 | 50 | -- -------------------------------------------------------- 51 | 52 | -- 53 | -- Table structure for table `transactions` 54 | -- 55 | 56 | CREATE TABLE `transactions` ( 57 | `sr` int(11) NOT NULL, 58 | `sender` varchar(10) NOT NULL, 59 | `receiver` varchar(10) NOT NULL, 60 | `amount` bigint(20) NOT NULL, 61 | `status` varchar(10) NOT NULL 62 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 63 | 64 | -- 65 | -- Dumping data for table `transactions` 66 | -- 67 | 68 | INSERT INTO `transactions` (`sr`, `sender`, `receiver`, `amount`, `status`) VALUES 69 | (1, '7311780855', '5353112532', 200, 'succeed'), 70 | (2, '', '', 0, 'failed'), 71 | (3, '', '', 0, 'failed'), 72 | (4, '', '', 0, 'failed'), 73 | (5, '', '', 0, 'failed'), 74 | (6, '7311780855', '5353112532', 100, 'succeed'), 75 | (7, '7311780855', '5353112532', 0, 'failed'), 76 | (8, '7311780855', '4001286186', 200, 'succeed'), 77 | (9, '7311780855', '4001286186', 500, 'succeed'), 78 | (10, '3917416800', '4001286186', 14000, 'failed'), 79 | (11, '', '', 0, 'failed'), 80 | (12, '7311780855', '4001286186', 9950000, 'succeed'), 81 | (13, '4001286186', '7311780855', 500, 'succeed'), 82 | (14, '4001286186', '5353112532', 800, 'succeed'); 83 | 84 | -- -------------------------------------------------------- 85 | 86 | -- 87 | -- Table structure for table `users` 88 | -- 89 | 90 | CREATE TABLE `users` ( 91 | `sr` int(11) NOT NULL, 92 | `name` varchar(20) NOT NULL, 93 | `email` varchar(20) NOT NULL, 94 | `accno` varchar(10) NOT NULL, 95 | `blc` bigint(20) NOT NULL 96 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 97 | 98 | -- 99 | -- Dumping data for table `users` 100 | -- 101 | 102 | INSERT INTO `users` (`sr`, `name`, `email`, `accno`, `blc`) VALUES 103 | (3, 'Rohit Mahajan', 'rohit@gmail.com', '5353112532', 21100), 104 | (4, 'Kunal Mahajan', 'kunal@gmail.com', '7311780855', 10000), 105 | (5, 'Aenna P', 'aenna@gmail.com', '4001286186', 10010000), 106 | (6, 'Manoj Bajpayi', 'manoj@gmail.com', '1097481093', 16000), 107 | (7, 'Pankaj Tripathi', 'pankaj@gmail.com', '5859722581', 18200), 108 | (8, 'nawazuddin siddiqui', 'nawaz@gmail.com', '4920438199', 20000), 109 | (9, 'Prathmesh Pachpute', 'prathmesh@gmail.com', '9304807119', 16100), 110 | (10, 'Vikram Rathod', 'vikram@gmail.com', '1384625500', 10900), 111 | (11, 'Shrikant Tiwari', 'shrikant@gmail.com', '3917416800', 13900), 112 | (12, 'Ganesh Gaitonde', 'ganesh@gmail.com', '5002694111', 19000); 113 | 114 | -- 115 | -- Indexes for dumped tables 116 | -- 117 | 118 | -- 119 | -- Indexes for table `contactus` 120 | -- 121 | ALTER TABLE `contactus` 122 | ADD PRIMARY KEY (`sr`); 123 | 124 | -- 125 | -- Indexes for table `transactions` 126 | -- 127 | ALTER TABLE `transactions` 128 | ADD PRIMARY KEY (`sr`); 129 | 130 | -- 131 | -- Indexes for table `users` 132 | -- 133 | ALTER TABLE `users` 134 | ADD PRIMARY KEY (`sr`); 135 | 136 | -- 137 | -- AUTO_INCREMENT for dumped tables 138 | -- 139 | 140 | -- 141 | -- AUTO_INCREMENT for table `contactus` 142 | -- 143 | ALTER TABLE `contactus` 144 | MODIFY `sr` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; 145 | 146 | -- 147 | -- AUTO_INCREMENT for table `transactions` 148 | -- 149 | ALTER TABLE `transactions` 150 | MODIFY `sr` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; 151 | 152 | -- 153 | -- AUTO_INCREMENT for table `users` 154 | -- 155 | ALTER TABLE `users` 156 | MODIFY `sr` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; 157 | COMMIT; 158 | 159 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 160 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 161 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 162 | -------------------------------------------------------------------------------- /transactions.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | Contact us - Sparks Bank 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 68 | 69 | 70 | 71 | 77 | 78 |
79 | 80 | 81 | 82 |
83 |
85 |

All Customers

86 |
87 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 122 | "; 124 | while($row = mysqli_fetch_assoc($result)){ 125 | if(!(empty($row['sender']) && empty($row['receiver']) && empty($row['amount']))) 126 | {echo ' 127 | 128 | 129 | 130 | 131 | ';} 134 | } 135 | 136 | } 137 | echo ""; 138 | ?> 139 | 140 | 141 | 142 | 143 | 144 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /all_cust.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 19 | 20 | All customers - Sparks Bank 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 68 | 69 | 75 | 76 |
77 | 78 | 79 | 80 |
81 |
83 |

All Customers

84 |
85 | 97 |
SenderRecieverAmountStatus
'.$row['sender'].''.$row['receiver'].''.$row['amount'].''; ?>

Succeed

';}else{echo '

Failed

';} ?> 132 | 133 |
98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 123 | "; 125 | while($row = mysqli_fetch_assoc($result)){ 126 | echo ' 127 | 128 | 129 | 130 | 131 | 132 | 137 | '; 138 | } 139 | 140 | } 141 | echo ""; 142 | ?> 143 | 144 | 145 | 146 | 147 | 148 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /check_blc.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 19 | 20 | Check Balance - Sparks Bank 21 | 22 | 23 | 24 | 25 | 26 | 27 | 32 | 33 | 69 | 70 | 92 | 93 | 94 | 95 |
96 |
97 |
99 |

Check Account Balance

100 |
101 | 102 |
104 |
105 |
106 |


107 |

Don't remember your account number? check here 108 |

109 | 110 |
111 |
112 | 113 | 114 | 128 |

'.mysqli_fetch_assoc($result)['blc'].'

'; 129 | }else{ 130 | echo ''; 136 | } 137 | } 138 | } 139 | 140 | 141 | ?> 142 |
143 | 144 | 145 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /contact_us.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | Contact us - Sparks Bank 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 68 | 69 | 70 | 86 |
87 | 88 | Thank you '.$name.' for contacting us! 89 |
90 | '; 91 | }else{ 92 | echo ''; 98 | } 99 | } 100 | } 101 | 102 | ?> 103 | 104 | 105 | 106 | 127 | 128 |
129 |
130 |
132 |

Contact Us

133 |
134 | 135 |
137 |
138 |

139 |

140 | 142 |

143 | 144 |
145 |
146 | 147 |
148 | 149 | 150 | 151 | 152 | 155 | 156 | 157 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 19 | 20 | Welcome to Sparks Bank 21 | 22 | 23 | 45 | 46 | 47 | 48 | 49 |

50 |

Please rotate the device.
We support only landscape mode.

51 |
52 | 53 |
54 | 55 | 56 | 57 | 58 | 77 | 78 | 114 | 115 | 116 | 117 |
119 |
120 |
121 |

 

Welcome to
Sparks 123 | Bank!

124 |
125 |
126 |   127 |
128 |
129 |
130 | 131 | 132 |
133 |
135 |

Our Awesome Facilities

136 |
137 |
138 |
139 |
141 |

142 |
144 |
Here, you can watch every customer of the bank.
145 |
146 |
147 |
148 |
150 |

151 |
153 |
Here, you can send money from your account.
154 |
155 |
156 |
157 |
159 |

160 |
162 |
Here, you can check the remaining balance in your account.
163 |
164 |
165 |
166 |
167 | 168 |
169 |
170 | 171 | 174 | 186 | 187 |
188 | 189 | 190 | -------------------------------------------------------------------------------- /send_money.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 19 | 20 | Send money - Sparks Bank 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 35 | 36 | 72 | 73 | 74 | 75 | 102 | 103 |
104 | 105 |
106 |
108 |

Transfer Money

109 |
110 |

111 |
112 |
113 |
NameEmailAccount NoBalanceSend Money From
'.$row['name'].''.$row['email'].''.$row['accno'].''.$row['blc'].' 133 | Send Money 135 | 136 |
114 | 115 | 118 | 119 | 120 | 122 | 123 | 124 | 126 | 127 |
128 |


129 |

Want to check your balance? check here

130 | 131 |
132 | 133 | 134 | 135 | = $amount){ 155 | $sql1 = "UPDATE users SET blc= blc-$amount WHERE accno='$sender'"; 156 | $sql2 = "UPDATE users SET blc= blc+$amount WHERE accno='$reciever'"; 157 | $result1 = mysqli_query($conn, $sql1); 158 | $result2 = mysqli_query($conn, $sql2); 159 | if($result1 && $result2){ 160 | echo ' 165 | '; 166 | 167 | $sqltran = "INSERT INTO `transactions` (`sender`, `receiver`, `amount`, `status`) VALUES ('$sender', '$reciever', '$amount', 'succeed')"; 168 | $sqltransact = mysqli_query($conn, $sqltran); 169 | }else{ 170 | echo ''; 176 | $sqltran = "INSERT INTO `transactions` (`sender`, `receiver`, `amount`, `status`) VALUES ('$sender', '$reciever', '$amount', 'failed')"; 177 | $sqltransact = mysqli_query($conn, $sqltran); 178 | } 179 | }else{ 180 | echo ' 185 | 186 | '; 187 | $sqltran = "INSERT INTO `transactions` (`sender`, `receiver`, `amount`, `status`) VALUES ('$sender', '$reciever', '$amount', 'failed')"; 188 | $sqltransact = mysqli_query($conn, $sqltran); 189 | } 190 | } 191 | } 192 | ?> 193 |
194 | 195 | 196 | 197 | 198 | 199 | 202 | 203 | 204 | --------------------------------------------------------------------------------