[PHP, MySQLi] Need help with my money transfer query

I have created a bank system in PHP and it consists of three functions:

Deposit(), Withdraw() and Transfer().

Both the Deposit() and Withdraw() functions are fully functional -> there are NO problems with them.

However, when a user tries to Transfer() money to another user account, issues occur.

Please look below for more specific details:

Expected result: JOHN DOE transfers $money from his bank account to JANE DOE (`bank` - $bank) => JANE DOE receives $money in her bank account (`bank` + $bank).

Actual result: JOHN DOE transfers $money to JANE DOE (`bank` = `bank`) => JANE DOE receives $money*3 in her bank account (`bank` + $bank).

Skills: Codeigniter, HTML, Javascript, MySQL, PHP

See more: need urgent money help, anyone need large money transfer, freelance money transfer help, php, mysql, html5, codeigniter, accountjava help money transfer, need help installing php website server, need money transfer account, need help php site, need help php email code, money transfer help needed, getafreelancer money transfer help, paypal money transfer api php, php code paypal money transfer automatically account details, need help php, need paypal money transfer fast, need website money transfer, i need help getting my book edited not much money

About the Employer:
( 5 reviews ) Bergen, Norway

Project ID: #15271213

14 freelancers are bidding on average £22 for this job

£18 GBP in 1 day
(41 Reviews)

Hello, I need a code t find problem, have more then 7 years of experience with php. Will be glad to help with it. Regards Denis. Relevant Skills and Experience php, mysql, javascript Proposed Milestones £15 GBP - Fi More

£15 GBP in 1 day
(94 Reviews)

Hello sir, I have worked as a backend developer for a bank and clearly understand the principles of fund transfer and its implementation. I will be readily available to work with you on this project. Relevant Skil More

£50 GBP in 3 days
(35 Reviews)

A proposal has not yet been provided

£13 GBP in 1 day
(96 Reviews)

Hello, please let me take a look at the code. I can fix this for you. Please message me for more details. Thank you

£10 GBP in 1 day
(26 Reviews)
£18 GBP in 1 day
(47 Reviews)
£18 GBP in 1 day
(25 Reviews)

Hi, I am web developer experienced in designing and developing websites for my own projects as well as for clients. I have just graduated from Newcastle University studying Bsc Computer Science. I have seen your pos More

£28 GBP in 1 day
(10 Reviews)
£40 GBP in 1 day
(5 Reviews)
£18 GBP in 1 day
(6 Reviews)

you have issues in your withdraw() and/or deposit() function. a system is failed fully if both wont work. Relevant Skills and Experience php Proposed Milestones £18 GBP - great. read the statement.

£18 GBP in 1 day
(5 Reviews)
£18 GBP in 1 day
(0 Reviews)

i will fix it within the shortest time possible and also take my time to document/explain and comment my codes . i will appreciate it if my proposal is favorably considered. Relevant Skills and Experience i am an expe More

£18 GBP in 1 day
(0 Reviews)

A proposal has not yet been provided

£23 GBP in 1 day
(1 Review)