Thanks, Ray,
in Databridge 1 I have a custom query:
$insegna_rs_validata = WA_getSavedFormValue("persist_data","nome_punto_vendita_reg")?WA_getSavedFormValue("persist_data","nome_punto_vendita_reg"):"-1";
if (isset($_POST['nome_punto_vendita_reg'])) {
$insegna_rs_validata = $_POST['nome_punto_vendita_reg'];
}
mysql_select_db($database_conn_registrazione, $conn_registrazione);
$query_rs_validata = sprintf("SELECT * FROM insegne WHERE insegna_ins = %s", GetSQLValueString($insegna_rs_validata, "text"));
$rs_validata = mysql_query($query_rs_validata, $conn_registrazione) or die(mysql_error());
$row_rs_validata = mysql_fetch_assoc($rs_validata);
$totalRows_rs_validata = mysql_num_rows($rs_validata);?>
But now I need to upgrade this code to MySQLi.
I'm trying to tweak the code but it is not working.
I was almost sure that you were able to upgrade recordset by just selecting the "_i" connection but it didn't work (I cannot select the "_i" connection).
Perhaps only DB2 offer this feature?
What if I open a DB1 website in DB2 and change only MySQL here? would it be a mess?
TIA
tony