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

Manage Relational Tables Tutorial

Thread began 3/07/2013 3:11 am by Codesnap | Last modified 3/07/2013 11:06 am by Jason Byrnes | 395 views | 2 replies |

Codesnap

Manage Relational Tables Tutorial

Hey guys,

I've followed the Manage Relational Tables Tutorial (located here: data_bridge_manage_relational_table.php). I'm pretty sure I've done it right but I can't seem to get the Insert or Update pages to insert entries into the 'itemgenres' table.

I noticed that this discussion (showthread.php?t=30010&highlight=Manage+Relational+Table) sounds very similar to mine, but with no conclusion.

I've attached the files I've made.

Sign in to reply to this post

Codesnap

Update

I was able to create a working MRT in my own test website, but not that Blue Sky one. Be interesting to know what was wrong with that one, but if you can't be bothered don't worry about it.

Sign in to reply to this post

Jason ByrnesWebAssist

on both the insert and the update pages, the check box did not have a name.

the ID was there:

php:
id="genres_<?php echo $RepeatSelectionCounter_1?>"



but there also needs to be a name attribute:

php:
name="genres_<?php echo $RepeatSelectionCounter_1?>"




change:

php:
<input <?php if (!(strcmp($row_rsGenres['GenreID'],WA_AB_returnPreSelectValue($WA_PreSelect_RelationalTable_1$row_rsGenres['GenreID'])))) {echo "checked=\"checked\"";} ?> id="genres_<?php echo $RepeatSelectionCounter_1?>" type="checkbox" value="<?php echo $row_rsGenres['GenreID']; ?>">



to:

php:
<input <?php if (!(strcmp($row_rsGenres['GenreID'],WA_AB_returnPreSelectValue($WA_PreSelect_RelationalTable_1$row_rsGenres['GenreID'])))) {echo "checked=\"checked\"";} ?> name="genres_<?php echo $RepeatSelectionCounter_1?>" id="genres_<?php echo $RepeatSelectionCounter_1?>" type="checkbox" value="<?php echo $row_rsGenres['GenreID']; ?>">
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...