Another question by a newbie. I have a php variable that queries the database for a value. It is stored in the variable $publish and its value will change (in the database)
Well, i think i understand your quaestion, but you have to get a starting point, try to understand this: