My level = beginner
I performed some simple math equations based on my form input. Basically, all I did was assign a variable to a few monthly bills, which I added and totaled. On another page, I wanted to use this variable I created in part of another calculation I was doing on that page. I currently am using SESSION to pass it over, but that doesn't work well because I have to view the first page first before viewing the second page or the variable doesn't get passed over. In fact, I get an error message until I visit the first page...
Here's what I'm doing as an example:
income page:
Code: Select all
$monthly_income = ($gross_pay + $commission) ;Code: Select all
$monthly_expenses = ($electricity + $water + $mortgage) ; Code: Select all
$My_disposable_income = ($monthly_income - $monthly_expenses);Seems a lot of people ask this question, but everything I found was offering up GET, POST, & SESSIONS, which don't apply in my application.
I hope I've explained it well enough for you to understand.
Thank you in advance for any help...