|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 11/05/2009 at 01:14PM PST, ID: 24876124 |
|
[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! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: |
//Here is the SELECT query that JOINs two tables:
$query="SELECT products.productsUID, products.productName, products.productSKU, products.agrossi_LabID, products.ProdNextStep, products.yourName, properties.propertiesUID, properties.length, properties.width, properties.diameter, properties.cureTime, properties.viscosity, properties.handleTime, properties.fixtureTime, properties.gapFill, properties.batchNumber, properties.batchNotes, properties.tempC, properties.tempF, properties.tensile, properties.shear, properties.peel
FROM products, properties
WHERE properties.productUID = '$breadcrumb1' ORDER BY products.productsUID ASC LIMIT 1";
//deal with the query results
$result = mysql_query($query) or die(mysql_error());
$num=mysql_num_rows($result);
$i=0;
while ($i < $num) {
// Here is example of how the $var are set:
$ProdNextStep=mysql_result($result,$i,"products.ProdNextStep");
$yourName=mysql_result($result,$i,"products.yourName");
$tempC=mysql_result($result,$i,"properties.tempC");
$tempF=mysql_result($result,$i,"properties.tempF");
$tensile=mysql_result($result,$i,"properties.tensile");
//The first three echo statements work.length, width, diameter
//The second three echo statements do NOT work.
//The values are all passed to page 3 and INSERT or UPDATE //queries work as expected.
<p class=inputF>Length: <br /><input name="length" type="text" value="<?php echo " $length "; ?>"/></p>
<p class=inputF>Width: <br /><input name="width" type="text" value="<?php echo " $width "; ?>"/></p>
<p class=inputF>Diameter: <br /><input name="diameter" type="text" value="<?php echo " $diameter "; ?>"/></p>
<p class=inputF>CureTime: <br /><input name="cureTime" type="text" value="<?php echo " $cureTime"; ?>"/></p>
<p class=inputF>Viscosity:<br /> <input name="viscosity" type="text" value="<?php echo " $viscosity"; ?>"/></p>
<p class=inputF>Handle Time: <br /><input name="handleTime" type="text" value="<?php echo " $handleTime"; ?>"/></p>
|
Advertisement