|
[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. |
|
|
|
|
|
[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! |
|
|
|
|
Asked by phpNovice in Adobe Dreamweaver, Miscellaneous Web Development, PHP and Databases
I can't believe I'm having so much trouble with this but I'm here in defeat and looking for mercy. I set up a Master Detail Page Set in Dreamweaver CS3 and had it create a Detail Page for me like it does so well. What I've done in the past (and this time) is used the Update Record Form Wizard to create an update page on the detail page. I find this works well because I can "call" the DetailRS1 recordset to populate the fields and then when I click on a record in the master detail page it takes me to the detail page with the update form. I usually end up deleting the detail form because it is redundant and I deleted it in this case as well.
Now I have a detail/update page that is displaying and updating all of the fields properly expect for four menu/list drop downs that for the life of me I can't get to display the correct values initially (the values that are currently stored in the database). It's driving me bananas. I have other form fields, even radio groups that are populating perfectly fine. Below is the code to one of the menu drop downs. It contains a list of years for car makes. I have a couple of recordsets that I'm pulling data from but all I want is to have the correct year initially selected in the drop down. I don't care how it gets there. Thanks in advance for your help.
If you need more info let me know. The code on this page is very lengthy so I think I should refrain from posting it all.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
<select name="tradeYear">
<?php
do {
?>
<option value="<?php echo $row_RecordsetTradeInYear['Year']?>"<?php if (!(strcmp($row_RecordsetTradeInYear['Year'], htmlentities($row_DetailRS1['tradeYear'], ENT_COMPAT, 'UTF-8')))) {echo "selected=\"selected\"";} ?>><?php echo $row_RecordsetTradeInYear['Year']?></option>
<?php
} while ($row_RecordsetTradeInYear = mysql_fetch_assoc($RecordsetTradeInYear));
$rows = mysql_num_rows($RecordsetTradeInYear);
if($rows > 0) {
mysql_data_seek($RecordsetTradeInYear, 0);
$row_RecordsetTradeInYear = mysql_fetch_assoc($RecordsetTradeInYear);
}
?>
</select>
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625