button to fill text box with value from database
8 Oct 2009 @ 08.50
i seriously am having issues with this, im not the sql guru i would like to be, in fact a million miles from it lol and php is not my first language
i am trying to have a button which searches a database for a customers current gift voucher balance, to quiterally be labelled apply and fill an empty text box, it has no other function as there is another button to checkout etc etc, it is for zen cart but ill worry bout replacing values etc etc later
any help as always is much appreciated (even if its just a list of functions i should be looking at lol)
it is shown on their checkout page while they are logged in, there is already a field on there pulling the data from the database and its that i would either like to copy and insert into the text box, or using the same values for the logged in customer to "apply" their balance.
not sure how much you know about zen but it uses this as far as i can see to display the value