I have the same problem with the quote marks. Unfortunately I cannot re bind the initial value clicking the lightning bolt next, because I get error, as you can see in the "lightning_clicked.png" images.
I have always had this last problem with al version of DataAssit and Dreamweaver. It happens in Detail and Update pages where there are two variable for the ID parameter. You can see the "variable_error.png". So if I modify the value and I click on OK button I get the error from Dreamweaver:
--------------------------------------------------------------------------
ParamNL is not a valid variable name, it doesn't appear in SQL
Runtime value not found for ParamNL_id variable
--------------------------------------------------------------------------
This is the source code created from DataAssist:
<?php
$ParamNL_id_WADANL_Newsletter = "-1";
if (isset($_GET['NL_id'])) {
$ParamNL_id_WADANL_Newsletter = (get_magic_quotes_gpc()) ? $_GET['NL_id'] : addslashes($_GET['NL_id']);
}
mysql_select_db($database_connDB, $connDB);
$query_WADANL_Newsletter = sprintf("SELECT NL_id, NL_tit, NL_body, NL_beneficiari, NL_datapartenza FROM NL_Newsletter WHERE NL_id = %s", GetSQLValueString($ParamNL_id_WADANL_Newsletter, "int"));
$WADANL_Newsletter = mysql_query($query_WADANL_Newsletter, $connDB) or die(mysql_error());
$row_WADANL_Newsletter = mysql_fetch_assoc($WADANL_Newsletter);
$totalRows_WADANL_Newsletter = mysql_num_rows($WADANL_Newsletter);?>
When I can, I have to modify manually the code.
I realize these are two different problems but their connection is very important.
Now, what can I do?
Thanks in advance