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>
";

67 Like 50 Dislike
Previous php-forum Next php-forum
Other php-forum

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

breaking a text file into paragraphs based on strings
I have a text file of email addresses that is all squished together. It looks like this:

abc

Can't find a decent web analytics!!!
I've downloaded and installed Piwik. It's location detection based on IP addresses is fairly inaccur

Echoing ASCII code
I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm

tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the e

php unable to sent email
Hi, guys, I try to send a email through php but unfortunately the mail unable to sent. Here is my co

Reading Most Recent CSV File in Directory
I thought I had wrapped this project up, but found out that the program I use to FTP a csv file to m

Custom CMS
This is a big custom CMS script I'd like to develop and would like some help atleast figuring out wh

unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.

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