include("config.inc.php");
mysql_query("set NAMES tis620 ");
mysql_select_db($db) ;
$result = mysql_query("select * from personal where username ='$login_true'") or die ("Err Can not to result") ;
$dbarr = mysql_fetch_array($result) ;
$sql = "Update personal set ";
$sql .="(Thumbnails,FilesName) VALUES ('".$new_images."','".$_FILES["fileUpload"]["name"]."') ";
$sql .="where member_id = '$member_id'";
$result= mysql_query($sql) or die("error : $sql");
/////////////////////////////////////////////////////////////////////////////////////////////////
540002Resize Successful.
error : Update personal set (Thumbnails,FilesName) VALUES ('Thumbnails_came1.jpg','came1.jpg') where member_id = '540002'
include("config.inc.php");
mysql_query("set NAMES tis620 ");
mysql_select_db($db) ;
$result = mysql_query("select * from personal where username ='$login_true'") or die ("Err Can not to result") ;
$dbarr = mysql_fetch_array($result) ;
$sql = "Update personal set ";
$sql .="(Thumbnails,FilesName) VALUES ('".$new_images."','".$_FILES["fileUpload"]["name"]."') ";
$sql .="where member_id = '$member_id'";
$result= mysql_query($sql) or die("error : $sql");