Menu
I want to use a variable as the index of an array. In a.php, it will display the content of the array. When a “save” button is pressed in a.php, b.php will increase the variable by 1, i.e., a new row is added to the table. But I don’t know how to set the variable, because I tried use “global” or “static”, both of them don’t work. I think the manner I called the variable is wrong. But I don’t know how to do that. Can anyone help me about that? Thanks a lot!