O.K., I ran into another problem that I am sure will be an easy fix.
Right now, I have a form that sends a variable ($computer) to a processing php page via the GET method.
So, if I want to find out the computer hardware information, I fill in the appropriate field with the computer name and submit the request to a new php page called computer_view.php
Now, this works all fine and dandy.
However, I want to be able to just type in a computer name, and have it display the computer_view.php, as well as network_view.php, peripheral_view.php, etc. etc.
So, I was thinking of using includes to accomplish this.
So, I would have these nice tables on my new page, and then simply throw in a <?php include("computer_list.php?computer=" .$_GET['computer']. "") ?>
The error I get is:
Warning: Failed opening 'computer_list.php?computer=xxx' for inclusion
Now, if I get set a variable called test to be the $_GET['computer'] it indeed shows what I want. Also, if I type in the whole URL I want it to include (using the computer name), it works. So, is there something about the include function itself that is not sufficient?
I know the include path is fine, since on my page I include a file that connects to the db and selects the write database...