faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 2 people (0%) answered Yes
Recently 0 of 2 people (0%) answered Yes

Entry

How do I code a button that changes the value of a PHP variable?

Mar 28th, 2008 16:44
ha mo, Abhijith Vijayan, bob smith,


Hello,
 It simple to change a value of php variable using a button. i doubt
this is 
the right thing you needs. Anyway inorder to change a value just call a php 
page or php function. For that just call them in the button click event
or if 
it is a submit button then make the action to the php page. If you want to 
return the same page after changing the value you can use a redirect method.
 Abhijith.
 http://abhisite.tk
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com