[PHP] Re: Php code in html buttons

2007-07-10 Thread M. Sokolewicz
Well, your first problem is that you don't understand the difference between a serverside-script and a client-script. Here's what happens: 1. A user clicks on a link 2. the browser sends a request for that page to the server 3. the server runs the script 4. the server sends the output of that

[PHP] Re: Php code in html buttons

2007-07-10 Thread Dan
Thanks man, that post made my day :D. - Dan k w [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm trying to make a button execute some php code when the button is clicked. I'm not sure if it is the button i'm coding wrong or the php code. Here is the code I am using. ?php echo