PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok heres the deal lads on my website i have button and what i need to do is, when the button is clicked i need it to disappear and a new image to replace it or another button which cant be clicked. This is vital as this button changes user money values and obviously can not be clicked twice. Here is the basic button:
I still dont understand how i can put that form information into the table when the table is done in php tags, let me show you a section of the page im talking about
When a user clicks tick its got to do a process of MySQL commands which change money amounts, the page this is done at is proofprocess.php. The only way i thought of doing it is by linking the button to the page with href but this isnt practical at all as it changes the page and allows the link to be clicked multiple times. So i need a way to solve this, i have been stuck on it for a very long time now.
I don't understand what you mean. Just try it and see!
You obviously need to echo the $userproof_id at the end of the form action. You can do that one of multiple ways - opening a PHP tag and echoing, or echo the whole form and concatenate the $userproof_id.