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

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

New to mysqli library - Multiple query problem
Greetings,

I am writing a batch program that executes 3 queries on a single page. Using mysql

The control with ID 'ace' requires a ScriptManager on the page
I'm trying to add a simple AlwaysVisibleControlExtender to my page, but it's not working. I get the

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

Multipe Dynamic Controls & AutoPostback Issue
I currently have a need to create many dynamic controls (Example Textboxes) that need to do a PostBa

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

disabling a button server-side then re-enabling client-side breaks button postback
I have a tabbed container and a button (not in the container) on a page. If the first tab is selecte

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