maintain state
Moderator: General Moderators
maintain state
i need some of my variables to maintain state within a case statement is this possible ??
the usual way of maintaining state is to use sessions or cookies.
If I'm reading your question right you are trying to save the state with some variables in a:
right?
if this is the case I think that you should reconsider your solution. otherwise try to implement sessions to your code.
regards,
//Anders
If I'm reading your question right you are trying to save the state with some variables in a:
Code: Select all
switch($var) {
case 'something':
echo "something";
break;
}if this is the case I think that you should reconsider your solution. otherwise try to implement sessions to your code.
regards,
//Anders
i cant use sessions
I'll just have to figue out another solution, thanx 4 ur assistance anyway 