Search the Community
Showing results for tags 'evaluation'.
-
Hi. I'm going to create a web-based system in php. I wanna put 8 categorys, one on each row and behind each of them there will be 9 buttons.- to the right there vill be a 8x9 cells table. When i press one button the value of that buttons variable will increase with 1. After pressing the button im still at the same page still seeing all those buttons behind the categories. But the value to the button i just pressed will be shown in the table to the right. I may press several buttons a hundred times and the table still show the value (value = how many time i press each button). Can anyone help me on my way? I did work a lot with php for about 10 years ago, but i cant figure out how this could be done..
- 2 replies
-
- evaluation
- system
-
(and 3 more)
Tagged with:
-
Hi Freaks, Just some quick questions: 1) Assuming the function test() returns a true or false value, would these two pieces of code process the same? (if not could you please explain why) if(test()){ // action(s) } //and if(test() === true){ //action(s) } 2) Same question except for false: if(!test()){ // action(s) } //and if(test() === false){ //action(s) } 3) if the function returned a string / integer / array / true on success or false on failure would the actions in the if loop execute? (assuming that the function test returned success and therefore was a string / integer / array / true): if(test()){ // action(s) } Thanks for reading and for everyones help in advance. I know this kind of post would generally be responded to with go try it for yourself but my XAMPP has currently been not allowing me to turn on Apache because of an error. Timothy
- 18 replies
-
- processing results
- true / false
-
(and 1 more)
Tagged with: