close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Code Mistake

Thread began 10/06/2014 4:44 am by john70964 | Last modified 10/06/2014 11:38 am by Jason Byrnes | 215 views | 1 replies |

john70964

Code Mistake

Good Morning

I have an update form which seems to be working correctly.

However when I look at the code it seems that a field is incorrect.

1 The first field New or Used
Code:
<input id="NeworUsed" name="NeworUsed" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("generalupdate","NeworUsed"):"".$row_WADAboats["NeworUsed"]."")); ?>" class="formTextfield_Medium" tabindex="6">
======
2 The second field Category
Code:
<input name="NeworUsed" type="text" class="formTextfield_Large" id="NeworUsed" tabindex="6" value="<?php echo $row_WADAboats['Category1']; ?>">
======
3 This second field should initially show the category which it does, but should enable updating from the entry of the sample list below if needed.
======
Code:
<select name="Category" id="Category">
<option value="">See a Sample Category</option>
<?php
do {
?>
<option value="<?php echo $row_rsCat['Category']?>"><?php echo $row_rsCat['Category']?></option>
<?php
} while ($row_rsCat = mysql_fetch_assoc($rsCat));
$rows = mysql_num_rows($rsCat);
if($rows > 0) {
mysql_data_seek($rsCat, 0);
$row_rsCat = mysql_fetch_assoc($rsCat);
}
?>
</select>
======

Could you please suggest how to amend
2 The second field Category

I am attaching a zipped file

Many thanks

John

Sign in to reply to this post

Jason ByrnesWebAssist

I dont follow, please provide more details on what the nature of the problem is.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...