Re: [PHP] Php code in html buttons

2007-07-11 Thread Richard Lynch
On Tue, July 10, 2007 5:59 pm, k w wrote: > 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. > > echo ""; > ?> Actually, since I've answered this one the same way qui

Re: [PHP] Php code in html buttons

2007-07-11 Thread Richard Lynch
On Tue, July 10, 2007 5:59 pm, k w wrote: > 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. > > echo ""; > ?> [sportscaster voice-over] Joe: Hey Bob, let's look at

Re: [PHP] Php code in html buttons

2007-07-11 Thread Sancar Saran
Hello, What about this. test.php " } else { $strReturn = "do whatever want to with your mysql result"; } echo $strReturn; ?> Hope helps. To ajaxing this page please look www.xajaxproject.org Regards On Wednesday 11 July 2007 01:59:42 k w wrote: > I'm trying to make a button execute some ph

Re: [PHP] Php code in html buttons

2007-07-10 Thread jekillen
On Jul 10, 2007, at 3:59 PM, k w wrote: 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. echo ""; ?> I've got all my variables stored in the php page, and I know the

Re: [PHP] Php code in html buttons

2007-07-10 Thread Richard Davey
Hi k, Tuesday, July 10, 2007, 11:59:42 PM, you wrote: > 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. > echo ""; ?>> Everything about this approach is wrong. PHP

[PHP] Php code in html buttons

2007-07-10 Thread k w
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. 'Click"; ?> I've got all my variables stored in the php page, and I know they are all correct. But when I push the button