-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/zbk_admin.bk.200925/php/inquiry/
File Upload :
Current File : /var/www/html/zbk_admin.bk.200925/php/inquiry/act.update.php

<?php

# approve
	if ( empty($numid)) script_re($total['cmnall'] , ' Á¢±ÙÇÒ ¼ö ¾ø½À´Ï´Ù. ' ) ;

	$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " * " ) ;
	if ( empty($info['numid'])) script_re( $total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â µ¥ÀÌÅÍÀÔ´Ï´Ù. ' ) ;

# base construct
	$action = array (
		'ip'					=> $total['ip'] ,
		'username'		=> $_POST['username'] ,
		'zipcode'			=> $_POST['zip1'] . '-' . $_POST['zip2'] ,
		'addr1'			=> $_POST['addr1'] ,
		'addr2'			=> $_POST['addr2'] ,
		'tel'					=> $_POST['tel1'] . '-' . $_POST['tel2'] . '-' . $_POST['tel3'] ,
		'hp'					=> $_POST['hp1'] . '-' . $_POST['hp2'] . '-' . $_POST['hp3'] ,
		'contents'		=> str_convert($_POST['contents']) 
	) ;

# action
	$exe->qry_update ( $action , " tbl_{$total[table]} " , " numid='{$numid}' " ) ;

# end
	script_re($total['cmnall'] . '&mode=view&numid=' . $numid ) ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee