First off, thanks for reading my question!
Secondly, I am looking at developing the most simple of simple Cart applications.. or functions.
It will only be used on a single page for 3 static products.
All I want:
A PHP function, attached to a button, that will allow me to add a variable (cost of item) to another variable (Total Cart) that will be displayed in a separate DIV as the Total Cost.
Thanks,
Craig
Ajax could be used, I would recommend reading up on working with Ajax and PHP and visit some tutorials to gain some experience first.
Then when you have trouble with working with Ajax and PHP, come back to ask a question and see if we can troubleshoot from there.
EDIT:
You could use Ajax for the showing/hiding the div, but thats about it. If you just need to create a non-trivial function and add up some values, you don’t need AJAX, PHP can do that.