Advertisement

07.12.2008 at 05:15AM PDT, ID: 23559512
[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.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

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!

8.2

radio Button must have a ID when selecting it and moving to a other Page

Asked by ablsysadmin in PHP and Databases, PHP Scripting Language

Tags:

Hi

I have a search Page with data on it. If I select a option from the radio button and move to a other page I need the id to be carried over. This is not working even if I place the follow code it in

<input name='changeCheck' type='radio' value='".$row['AssetID']."'/>

Start Free Trial
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:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
<?php
 session_start();
 ?>
<html>
<body>
<?php include "Menu.php"; ?>
	<!--<form action="action.php" method="post">-->
	
<?php
 
	define("DB_HOST","server");
	define("DB_USER","usename");
	define("DB_PASS","password");
	define("DB_NAME","database");
	
	$db_connection = mssql_connect(DB_HOST, DB_USER, DB_PASS) or die ("Could not connect to MSSQL host:<br>".mssql_get_last_message());
	$result = mssql_select_db(DB_NAME, $db_connection);
	if(!$result) exit("Could not select MSSQL DB:<br>".mssql_get_last_message());
	
	$cost_code = $_POST['branch'];
	$query = "SELECT BranchID FROM Branch WHERE  branchcostcode= '$cost_code'";
	$result = mssql_query($query, $db_connection);
	if(!$result) exit("Could not execute query:<br>$query");
	if(mssql_num_rows($result) == 0) exit("Cost code not found:<br>$query<br>Cost code var:$cost_code");
	$_SESSION['cost_code'] = $_POST['branch'];
	
	$row = mssql_fetch_assoc($result);
	$get_assets = "SELECT AssetID FROM Asset_Branch_Link WHERE  BranchID = ".$row['BranchID']."";
	$get_assets_result = mssql_query($get_assets, $db_connection);
	if(!$get_assets_result) exit("Could not execute query:<br>$get_assets<br>".mssql_get_last_message());
	if(mssql_num_rows($get_assets_result) == 0) exit("No assets found for branch");
	
 
	echo "<table border=\"2\" cellspacing=\"1\">";
	echo "<tr>";
	echo "<th>Select</th>";
	echo "<th>DeviceType</th>";
	echo "<th>DeviceMake</th>";
	echo "<th>DeviceModel</th>";	
	echo "<th>Serial</th>";
	echo "<th>Cost Code</th>";
	echo "<th>Domain User</th>";
	echo "<th>Date Modified</th>";
	echo "<th>Date Created</th>";
	echo "<th>Status</th>";
	echo "<th>Change Order</th>";
	//echo "<th>Change Order</th>";
	//echo "<th>Select and Update</th>";
	//echo "<th>Move Asset</th>";
	echo "</tr>";
	while($row = mssql_fetch_assoc($get_assets_result))
	{
		$asset_details = " select 
								c.TypeName,
								d.MakeName,
								e.ModelName,
								a.AssetSerial,
								DomainUser,
								convert(varchar,a.Datemodified,111) As DateModified,
								convert(varchar,a.DateCreated,111) As DateCreated,
								b.Statusname,
								a.AssetID,
								g.branchcostcode,
								g.changeorder
								
							
			from 
								dbo.Asset a left join dbo.Status b
								ON a.statusid = b.statusid
								left join dbo.AssetType c
								ON c.typeid = a.typeid
								left join dbo.AssetMake d
								on d.makeid = a.makeid
								left join dbo.MakeModel e
								on e.modelid = a.modelid
								left join Asset_branch_link f
								on f.assetid = a.assetid
								left join branch g
								on g.branchid = f.branchid
						  WHERE a.AssetID = '".$row['AssetID']."'";
		$asset_details_result = mssql_query($asset_details, $db_connection);
		if(!$asset_details_result) exit("Could not execute query:<br>$asset_details<br>".mssql_get_last_message());
		if(mssql_num_rows($asset_details_result) == 0) exit("Could not find asset ".$row['Asset_id']." in Assets table:<br>$asset_details<br>".mssql_get_last_message());
		
		$row = mssql_fetch_assoc($asset_details_result);
		echo "<tr>";
		echo "<td><input name='changeCheck' type='radio' value='".$row['AssetID']."'/></td>";
		echo "<td>".$row['TypeName']."</td>"; 
		echo "<td>".$row['MakeName']."</td>";
		echo "<td>".$row['ModelName']."</td>";
		echo "<td>".$row['AssetSerial']."</td>";
		echo "<td>".$row['branchcostcode']."</td>";
		echo "<td>".$row['DomainUser']."</td>";
		echo "<td>".$row['DateModified']."</td>";
		echo "<td>".$row['DateCreated']."</td>";
		echo "<td>".$row['Statusname']."</td>";
		echo "<td>".$row['changeorder']."</td>";
		//echo "<td>".$row['Incident']."</td>";
		//echo "<td>".$row['changeorder']."</td>";
		//echo "<td><a href='action.php?id=".$row['AssetID']."'>Action Asset</a></td>";
		//echo "<td><a href='asset_move.php?id=".$row['AssetID']."'>MOVE ASSET</a></td>";
		echo "</tr>";
	} // end while
 
	echo "</table>";
	echo "<br>";
 
?>
 
	<!--<input type="submit" value="Action">
	</form>-->
	        <?php
		if(isset($_POST["submit_action"])){
	            switch ($_POST["submit_action"]) {
	                case "Register a Transfer": header("Location: asset_move.php"); break;
	                case "Place into storage": header("Location: place_into_storage.php"); break;
	                case "Register as Broken": header("Location: register_as_broken.php"); break;
	                case "Decommission": header("Location: decommission.php"); break;
	           }
	       } 
	?>
		<form action="#" method="post">
		<input type="submit" value="Register a Transfer" name="submit_action" />
		<input type="submit" value="Place into storage" name="submit_action"/>
		<input type="submit" value="Register as Broken" name="submit_action"/>
		<input type="submit" value="Decommission" name="submit_action"/>
		</form>
	
 
</body>
</html>
[+][-]07.12.2008 at 05:31AM PDT, ID: 21988843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.12.2008 at 07:23AM PDT, ID: 21989168

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.13.2008 at 12:15AM PDT, ID: 21991569

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2008 at 01:00AM PDT, ID: 21991653

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2008 at 04:00AM PDT, ID: 21991973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 12:47AM PDT, ID: 21996312

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 02:30AM PDT, ID: 22005271

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 11:39PM PDT, ID: 22013669

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 05:51AM PDT, ID: 22024785

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:31AM PDT, ID: 22034036

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 14-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:28AM PDT, ID: 22034302

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 04:12AM PDT, ID: 22034485

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 04:15AM PDT, ID: 22034503

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 04:57AM PDT, ID: 22034712

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 05:40AM PDT, ID: 22035056

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 06:20AM PDT, ID: 22035452

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 06:22AM PDT, ID: 22035472

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 12:36AM PDT, ID: 22048545

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 01:22AM PDT, ID: 22048735

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 11:32PM PDT, ID: 22056815

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:39AM PDT, ID: 22057273

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:43AM PDT, ID: 22057288

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 03:39AM PDT, ID: 22057760

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 03:40AM PDT, ID: 22057768

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 03:44AM PDT, ID: 22057791

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 06:01AM PDT, ID: 22058831

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:00AM PDT, ID: 22059401

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:03AM PDT, ID: 22059433

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:17AM PDT, ID: 22059618

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:54AM PDT, ID: 22060076

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 08:21AM PDT, ID: 22060378

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 02:30AM PDT, ID: 22067369

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 05:41AM PDT, ID: 22068525

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 02:07AM PDT, ID: 22077189

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 03:17AM PDT, ID: 22077499

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 03:20AM PDT, ID: 22077516

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 12:26AM PDT, ID: 22178641

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 12:45AM PDT, ID: 22219820

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 01:36AM PDT, ID: 22220002

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 05:42AM PDT, ID: 22229663

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 06:20AM PDT, ID: 22229947

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 06:50AM PDT, ID: 22230242

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 07:03AM PDT, ID: 22230366

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 09:59AM PDT, ID: 22232028

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 09:59AM PDT, ID: 22232035

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 11:06PM PDT, ID: 22236289

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 01:04AM PDT, ID: 22236603

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 03:06AM PDT, ID: 22236897

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 06:42AM PDT, ID: 22238074

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.18.2008 at 01:15AM PDT, ID: 22250128

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.18.2008 at 02:00AM PDT, ID: 22250261

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 05:05AM PDT, ID: 22258977

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 06:30AM PDT, ID: 22259530

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.