Okay.......
I am creating a site that has a lot of information that needs to be passed from page to page. I really don't want to start using a database because I feel it is unneccessary. I want to send the information from one page to the next using PHP to pick up the information sent from FORM A (on page) to FORM B (the next page). However, because the variables are different for each user, they will need to be spawned based on a few details (the folder they are accessing and its contents, the files).
I have tried trying to spawn the PHP code just like I might spawn JAVAscript code, but that definatly is useless cause instead of reading the PHP it just prints it onto the screen like HTML.
So far I've been doing this: I use loops to count how many files are in this folder. The I use another loop to count off how many different options I have per file. Then Each time it loops through it creates a new printout with a variable amount. I want to get the PHP variables to save into JavaScript variables. So I have it print the peices in chunks (i.e., $"$VariableA""$VariableB""VariableC"). I'm trying to get it to write out those variables then read the whole thing as one variable. (e.g., if A = Dood, B = Red, and C = 4, then the variable would be $Dood_Red_4 and should = say 10. But instead of printing out "10" it just prints out "$Dood_Red_4". Which is actually what I'm telling it to do, and thats the problem: I don't know what to do.
I know how to save a regular variable as a JavaSCRIPT variable. But these variables aren't regular cause I'm not typing them in the way PHP reads them.
Basically, does anyone know how to peice together variables into one variable, and I don't mean adding them together.
??????????????????????????????????????????
Thanks.