avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • January 20, 2019, 07:40 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: PHP  (Read 1719 times)


  • Participant
  • Joined in 2008
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
« on: February 05, 2011, 11:13 AM »
I am just starting out with PHP.  I have resorted to doing some custom PHP programming because the plug-INs for a CMS I am using need a little customization.

The question I have is very simple and I am sure PHP programmers can answer this instantly.  I have successfully declared a global PHP variable.  All I need to know how to do for now is how to declare a button or a hyperlink or an input form element such that it can change the assignment of this variable.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,488
    • View Profile
    • Donate to Member
« Reply #1 on: February 05, 2011, 03:29 PM »
PHP is a server side scripting language. if you only want to change a value (as apposed to submitting the entire form) you'd need to store the value in a hidden input field and then update it with a client side scripting language (typically Java Script).


  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 39,098
    • View Profile
    • Mouser's Software Zone on
    • Read more about this member.
    • Donate to Member
« Reply #2 on: February 05, 2011, 03:39 PM »
it may seem like there should be a very simple direct answer to your question, but you will have to be a bit more specific about what you are trying to do -- as there are very different ways to interpret your question.