I don't know what's going wrong here.
The session variable values appear to be missing from that code. Based on what you have posted, I would expect your code to look more like:
$Paramclient_id_WADAclients = "-1";
if (isset($_GET['client_id'])) {
$Paramclient_id_WADAclients = (get_magic_quotes_gpc()) ? : addslashes();
}
$Paramclient_id2_WADAclients = "-1";
if (isset($_GET['client_id']))) {
$Paramclient_id2_WADAclients = (get_magic_quotes_gpc()) ? : addslashes();
}
$ParamSessionclient_id_WADAclients = "-1";
if (isset($_SESSION['WADA_Insert_clientst']))) {
$ParamSessionclient_id_WADAclients = (get_magic_quotes_gpc()) ? : addslashes();
}
I am not reliable as far as php goes, so Jason or Ray would need to confirm.