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>
Did you know?Explore Trending and Topic pages for more stories like this.
";
No comments posted yet

Your Answer:

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

. and .. appearing instead of pictures
First of all, thanks very much for providing this forum. It is very much appreciated!

My son

Stuck with preg_replace
Hi,

I'm trying to use preg_replace to remove part of the IP address submitted using a form on

what are '%S%', '%E%'
for example when i see Code: [Select]printf("Hello %srn", $name);
what does %s means

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

Ball movement
I want to move a ball from one point to another and it should hit a group of balls at the other end

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

parse error
Parse error: syntax error, unexpected '[', expecting ')' in /Users/admin/Sites/phptest/array.php on

$variable = $variable
Hello

Sorry if this is a really simple question but I have run out of ideas. Is there a reall

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

confused between ' ' and " "
there is a php i set:
$begin_date_query = mysql_query( "SELECT SUBDATE(due_date, INTERVAL $d

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