PHP QueryString (1 reply)
Submitted by sudeepg on Tue, 08/12/2008 - 22:35.
Hi,
I am new to using MYSQL with PHP,
I am trying to create an inventory webpage for our intranet system,
currently I have:
===========================
$ypcodes_sql = 'select * from COMPUTERS';
$ypQuery = mysql_query($ypcodes_sql,$conn) or die(mysql_error());
while($ypArray = mysql_fetch_array($ypQuery))
{
echo('
echo($ypArray['COMPUTER_NAME']);
echo('
echo($ypArray['DEPARTMENT_ID']);
echo('
echo($ypArray['USER_NAME']);
echo('
echo($ypArray['IP_ADDRESSES']);
echo('
}
====================
Which displays some of the info about each machine,
I have a lot more info stored in the DB though about each machine and want to be able to click on a computer name and be put to a more detailed view of the computer, I am told I could do this with QueryString but I am a bit stumped to be honest,
Anyone got any tips on how to do this?
Cheers,
Andy

Recent comments
24 weeks 9 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
24 weeks 6 days ago
25 weeks 4 days ago
27 weeks 5 days ago
30 weeks 5 days ago
33 weeks 4 days ago
34 weeks 2 days ago
35 weeks 22 hours ago