close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem with new Manage Relational Table

Thread began 10/16/2018 8:20 am by Oscar (Xavia Digital) | Last modified 10/17/2018 11:34 am by Oscar (Xavia Digital) | 485 views | 3 replies

Oscar (Xavia Digital)

Problem with new Manage Relational Table


I am trying to apply the new manage relational table mith mysli and i have two problems.

First, the interface does not allow me to select the type of data. I have managed to fix it by changing it in the code.

Second I get this error:
Fatal error: Call to undefined method WA_MySQLi_Query::getSelected() in ...

The part of the input code is:
$wa_repeatfor = -1; // Repeat Selection 1
if (!isset($wa_repeatcount)) $wa_repeatcount = 0;
while (!$rsIconos->atEnd() && $wa_repeatfor != 0) {
if (!$rsIconos->atEnd()) {
<div class="iconoWrp">

<div class="iconoSelect">
<input type="hidden" name="mrt[]" id="mrt_<?php echo($wa_repeatcount); ?>" value="<?php echo($wa_repeatcount); ?>" />
<input <?php echo(in_array(undefined,$RelationalQuery_1->getSelected())?"checked":""); ?> name="checkbox<?php echo($wa_repeatcount); ?>" type="checkbox" id="checkbox_<?php echo($wa_repeatcount); ?>" form="formIconos" />
<input type="hidden" name="WA_RepeatID<?php echo($wa_repeatcount); ?>" value="<?php echo($wa_repeatcount); ?>">
if ($wa_repeatfor != 0) $rsIconos->moveNext(); // Repeat Alternate 1
} else {
} // End Repeat Alternate 1
if (!isset($wa_startindex)) $rsIconos->moveFirst(); // End Repeat Selection 1

Maybe that "undefined" is the problem?

The part of the relationship Before the html):
$RelationalQuery_1 = new WA_MySQLi_Query($conexioni);
$RelationalQuery_1->Action = "relational";
$RelationalQuery_1->Table = "prod_icoitems";
$RelationalQuery_1->addRelationship("iditem", "idico");
$RelationalQuery_1->bindColumn("iditem", "i", "".$_GET['iditem'] ."", "WA_DEFAULT");
$RelationalQuery_1->bindColumn("idico", "i", (isset($_POST["checkbox"])?$_POST["checkbox"]:""), "WA_DEFAULT", "checkbox");
$RelationalGoTo = "ok.php";
if (function_exists("rel2abs")) $RelationalGoTo = $RelationalGoTo?rel2abs($RelationalGoTo,dirname(__FILE__)):"";


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





Ease of use


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...