I need to be able to query a set of 7 tables, pull the right data from it and then display the result in a table. Here is what I have so far, I am not sure how to display the results nicely:
<?php
if($_POST["ipadd"]):
$_POST["my_dropdow n"];
echo mysql_escape_st ring($_POST['text']);
echo $_POST['my_dropdown'];
// Connecting, selecting database
...
User Profile
Collapse
-
here is the script I created, but when I execute it, nothing comes back in a webpage, it still displays the search button, I am thinking something is not correct in the way I try to display results.
[PHP]<?php
if($_GET["field1"]):
// Connecting, selecting database
$link = mysql_connect(' 10.10.17.247', 'edefikh', 'changeme')
or die('Could not connect: ' . mysql_error());
...Leave a comment:
-
I am using PHP
999999999999999 999999999999999 999999999999999...Leave a comment:
-
Thank you for that reply. Now I would like to add a search box to my wiki page and have users query the data by ipaddr string. Somehow I need to pass the string from the webpage to mysql and display the results back. Any ideasLeave a comment:
-
Need help with outer join command
I have a database called inventory, In it I have tables called network and environment. In the network table there is a row called ipaddr. I would like to be able to write a query that can find ip address, lets say 10.0.0.1 in the table called network, row called ipaddr, join the information with environment table and display the search result. I want to be able to search the inventory database by ip address and be able to see the complete result,...
No activity results to display
Show More
Leave a comment: