Advertisement
Advertisement
| 03.27.2008 at 12:42PM PDT, ID: 23275368 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.27.2008 at 12:58PM PDT, ID: 21225193 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: |
$results = mysql_query("select * from route_table GROUP BY route");
if(mysql_num_rows($results) > 0){
echo "<select name=\"route\">";
while($row = mysql_fetch_object($results)){
echo "<option value=\"$row->route_id\">$row->route</option>";
}
echo "</select>";
}
else
{
echo("No values found.");
}
|
| 03.27.2008 at 01:00PM PDT, ID: 21225208 |
| 03.27.2008 at 04:49PM PDT, ID: 21226863 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
<?php
$results = mysql_query("select * from locations GROUP BY route");
if(mysql_num_rows($results) > 0){
echo "<select name=\"route\">";
while($row = mysql_fetch_object($results)){
echo "<option value=\"$row->id\">$row->route</option>";
}
echo "</select>";
}
?>
|
| 03.27.2008 at 05:21PM PDT, ID: 21227008 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: |
<form method="POST" action="page_that_processes_your_form.php">
Please select which route it is on:<br />
<?php
$results = mysql_query("select * from locations GROUP BY route");
if(mysql_num_rows($results) > 0){
echo "<select name=\"route\">";
while($row = mysql_fetch_object($results)){
echo "<option value=\"$row->id\">$row->route</option>";
}
echo "</select>";
}
?>
<br /><br />
If the route is not listed in the drop down box, please type it here:<br />
<input type="text" name="route" size="25" id="route" />
<br /><br />
<input type="submit" name="submit" value="Submit" />
</form>
|
| 03.27.2008 at 05:25PM PDT, ID: 21227022 |
| 03.27.2008 at 05:44PM PDT, ID: 21227105 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: |
<?php
require('includes/dbinfo.php');
if (!$db)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("web25-daniish", $db);
$sql="INSERT INTO locations (name, title, date, description, lat, lng, link, icon, route)
VALUES
('$_POST[name]','$_POST[title]','$_POST[date]','$_POST[description]','$_POST[lat]','$_POST[lng]','$_POST[link]','$_POST[icon]','$_POST[route]')";
if (!mysql_query($sql,$db))
{
die('Error: ' . mysql_error());
}
echo "1 record added ";
echo "<a href='http://www.globexposure.net/members/my_demos/input_form/input_form.html'>Add another POI</a>";
mysql_close($db)
?>
|
| 03.27.2008 at 06:30PM PDT, ID: 21227334 |
| 03.28.2008 at 02:21AM PDT, ID: 21228898 |
| 03.28.2008 at 05:07AM PDT, ID: 21229589 |