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

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

Multiple includes losing variables
Hey all,

just starting out w php and ran into a problem pretty quickly. I'm
including seve

Comma seperated implode & modifying returned string.
I have a PHP post form that posts up to 4 variables. I need whatever variables are passed to be comb

paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon

Images outside webroot
Im hopeing someone can help me with this because i cant figure it out.I have setup an ASP.NET websit

HOW to get the bind variables list.
I've the following problem : I've some SQL queries stored in my DB as VARCHAR2 values.
I need t

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

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