close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

problems with DATAASSIST

Thread began 1/25/2011 6:59 pm by posta421349 | Last modified 2/01/2011 4:18 am by posta421349 | 2818 views | 13 replies


Here is the code

by the way I've also tried to uninstall extension (10 mins!!!!!!) and then reinstall, and then rebuilt pages, with same errors and problems... I've also encountered many problems with form builder, and as I can read there are many customers disappointed with many problems reports....
so please give me a real solution for all the problems I'm encountering, otherwise I will recall the money back guarantee.

here is the code of the insert page.

<?php require_once('Connections/connect_am.php'); ?>
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
// WA Application Builder Insert
if (isset($_POST["Insert_x"])) // Trigger
$WA_connection = $connect_am;
$WA_table = "portfolio";
$WA_sessionName = "WADA_Insert_portfolio";
$WA_redirectURL = "portfolio_Detail.php";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_indexField = "ID";
$WA_fieldNamesStr = "tipologia|committente|oggetto|descrizione|foto|note";
$WA_fieldValuesStr = "".((isset($_POST["tipologia"]))?$_POST["tipologia"]:"") ."" . "|" . "".((isset($_POST["committente"]))?$_POST["committente"]:"") ."" . "|" . "".((isset($_POST["oggetto"]))?$_POST["oggetto"]:"") ."" . "|" . "".((isset($_POST["descrizione"]))?$_POST["descrizione"]:"") ."" . "|" . "".((isset($_POST["foto"]))?$_POST["foto"]:"") ."" . "|" . "".((isset($_POST["note"]))?$_POST["note"]:"") ."";
$WA_columnTypesStr = "undefined|undefined|undefined|undefined|undefined|undefined";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode("|", $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);
$WA_connectionDB = $database_connect_am;
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$insertParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
$_SESSION[$WA_sessionName] = mysql_insert_id();
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
header("Location: ".$WA_redirectURL);
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns=""><!-- InstanceBegin template="/Templates/am_tmplt_cms.dwt.php" codeOutsideHTMLIsLocked="false" -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Insert portfolio</title>
<!-- InstanceEndEditable -->
<style type="text/css" media="all">
@import url("CSSSculptor/AM2ColumnFixedLeftSidebarHeaderandFooter_AMORANGEWHITECMS_css/screen.css");
<style type="text/css" media="print">
@import url("CSSSculptor/AM2ColumnFixedLeftSidebarHeaderandFooter_AMORANGEWHITECMS_css/print.css");
<!--[if IE 5]>
<style type="text/css">
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #leftColumn1 {
width: 220px;
<!--[if IE]>
<style type="text/css">
/* The proprietary zoom property gives IE the hasLayout property which addresses several bugs. */
#outerWrapper #contentWrapper, #outerWrapper #contentWrapper #content {
zoom: 1;
<!--[if lt IE 7]>
<style type="text/css">
img, div {
behavior: url("../CSSSculptor/AM2ColumnFixedLeftSidebarHeaderandFooter_AMORANGEWHITECMS_images/");
<!-- InstanceBeginEditable name="head" -->
<link href="WA_DataAssist/styles/Refined_Pacifica.css" rel="stylesheet" type="text/css" />
<link href="WA_DataAssist/styles/Geneva.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->


<div id="outerWrapper">
<div id="header"></div>
<div id="contentWrapper">
<div id="leftColumn1">
<p>MENU<a href="#"></a></p>
<hr />
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. <a href="#">More...</a></p></div>
<div id="content">
<h1>trattamento dati</h1>
<hr />
<!-- InstanceBeginEditable name="contenuto" -->

<div class="WADAInsertContainer">
<form action="portfolio_Insert.php" method="post" name="WADAInsertForm" id="WADAInsertForm">
<div class="WADAHeader">Insert Record</div>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
<th class="WADADataTableHeader">tipologia:</th>
<td class="WADADataTableCell"><input type="radio" name="tipologia" id="tipologia" value="" />
[ Label ]<br />
<input type="radio" name="tipologia" id="tipologia" value="" />
[ Label ]</td>
<th class="WADADataTableHeader">committente:</th>
<td class="WADADataTableCell"><input type="text" name="committente" id="committente" value="" size="32" /></td>
<th class="WADADataTableHeader">oggetto:</th>
<td class="WADADataTableCell"><input type="text" name="oggetto" id="oggetto" value="" size="32" /></td>
<th class="WADADataTableHeader">descrizione:</th>
<td class="WADADataTableCell"><textarea name="descrizione" id="descrizione" cols="32"></textarea></td>
<th class="WADADataTableHeader">foto:</th>
<td class="WADADataTableCell"><input type="text" name="foto" id="foto" value="" size="32" /></td>
<th class="WADADataTableHeader">note:</th>
<td class="WADADataTableCell"><input type="text" name="note" id="note" value="" size="32" /></td>
<div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
<div class="WADAButtonRow">
<table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
<td class="WADADataNavButtonCell" nowrap="nowrap"><input type="image" name="Insert" id="Insert" value="Insert" alt="Insert" src="WA_DataAssist/images/Pacifica/Refined_insert.gif" /></td>
<td class="WADADataNavButtonCell" nowrap="nowrap"><a href="portfolio_Results.php" title="Cancel"><img border="0" name="Cancel" id="Cancel" alt="Cancel" src="WA_DataAssist/images/Pacifica/Refined_cancel.gif" /></a></td>
<input name="WADAInsertRecordID" type="hidden" id="WADAInsertRecordID" value="" />
<!-- InstanceEndEditable --></div>
<div id="footer">
log out </div>

<!-- InstanceEnd --></html>

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