Hi there,
Thanks very much for the workarround, I tried the following replacements :
//$value=0+$strvalue;
$strvalue=substr($strvalue,0,strspn($strvalue,"01234567890.-"));
if(!strlen($strvalue))
$strvalue="0";
$value=$strvalue;
//$sSearchFor = 0+$sSearchFor;
$var2=substr($sSearchFor,0,strspn($sSearchFor,"01234567890.-"));
if(!strlen($var2))
$var2="0";
$sSearchFor = $var2;
//$sSearchFor2 = 0+$sSearchFor2;
$var2=substr($sSearchFor2,0,strspn($sSearchFor2,"01234567890.-"));
if(!strlen($var2))
$var2="0";
$sSearchFor2 = $var2;
After that I got the following error :
Technical information
Error type 256
Error description You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '='10215000000000002'' at line 1
URL beta.iisems.com/app/applications_list.php?mastertable=events&masterkey1=10215000000000002
Error file /home/iisemsc/public_html/beta/app/include/dbconnection.php
Error line 26
SQL query select `applid`, `evid`, `emsuserid`, `appldate`, `appltime`, `apllstatus`, `appremark`, `replremark` From `applications` where ='10215000000000002' ORDER BY `apllstatus` ASC, `appldate` ASC
Solution This is a general error. It occurs when there is an error in event code or in SQL.
Send your SQL or event code along with full error message tosupport@xlinesoft.com&.
Did I make a typo or forget something ?
Thanks,
Vivek