Hi,
I have tested this and get no errors.
However when i am updating a mortgage record for a client it changes the client id??
So if i am updating a mortgage for clientid = 1 Test Case and Mortgage ID = 1 once i click update in my php site i then get redircted to the details page and it shows clientid=1 Another Test Name ??
here is my query:
SELECT m.MortgageID, m.AccountNumber, m.Lender, m.LoanAmount, m.Term, m.PurchasePrice, m.ReviewDate, m.DatePaid, m.DateSubmitted, m.StartDate, m.Amount, m.RepaymentType, m.clients_ClientID, m.IssueDateMortgage, m.MortgageTypeName, m.MortgageSold, m.MortgageStatus, c.ClientID, c.App1FirstName, c.App1LastName, c.App2FirstName, c.App2LastName, c.ClientUserID, p.Pip_CommID, p.clients_ClientID
FROM mortgage m Join clients c on m.clients_ClientID = c.ClientID JOIN pipeline_commission p on p.clients_ClientID
WHERE MortgageID = ParamMortgageID
not sure if my join is wrong?
many thanks