PHP and MySQL Question/Help


Posted on 16th Feb 2014 07:03 pm by admin

I have a MySQL db with all my servers and all their details like server name, IP, OS, RAM etc etc 26 in total. I have a PHP page which will list all server names with a link on the page and when you click the link its suppose to go to a page that is called serverdetails.php which it does, but how do I only list information from the one server of the link I clicked on? Below is the code I am using to go to the next page.

echo "<A HREF="http://vm-webdev/serverdetails?svr={$row['Server_Name']}">{$row['Server_Name']}</A>
";

No comments posted yet

Your Answer:

Login to answer
67 Like 50 Dislike
Previous forums Next forums
Other forums

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

Adding to the next element in a multidimensional array
Hi, I'm trying to add a value to $node->field_spaces['nid'] where x is the next available spo

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.


In some case, there will be 100+ of the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash