Hi,
I have a file named MakeModel.php that queries a database and sends back a tree-style list containing makes and models of equipment which looks something like this:
Make
+Model
+Model
+Model
+Model
Make
+Model
+Model
+Model
+Model...
and so on. Each of the model names are hyperlinked to a different php file that should open in a different frame so the user can see the names of equipment available in that make and model. How do I send a variable named "$m" (which stands for the model) to the other php file so that it can reference it in a different query?
I'm using this right now, but the other php file is not able to parse the "$m" variable:
"<A HREF='availableequipment.php?m=$model' target=\"makemodellist\">$model</A> "
Any ideas? Any help that anyone can give me would be muchly appreciated.
Regards,
Craig Snowbarger
I have a file named MakeModel.php that queries a database and sends back a tree-style list containing makes and models of equipment which looks something like this:
Make
+Model
+Model
+Model
+Model
Make
+Model
+Model
+Model
+Model...
and so on. Each of the model names are hyperlinked to a different php file that should open in a different frame so the user can see the names of equipment available in that make and model. How do I send a variable named "$m" (which stands for the model) to the other php file so that it can reference it in a different query?
I'm using this right now, but the other php file is not able to parse the "$m" variable:
"<A HREF='availableequipment.php?m=$model' target=\"makemodellist\">$model</A> "
Any ideas? Any help that anyone can give me would be muchly appreciated.
Regards,
Craig Snowbarger