[eluser]C_Line[/eluser]
Code:
echo "< script >
var res = confirm('Apakah aset barang yang dipilih berhubungan dengan $barang[0] ?')
if(res == true){
res = $vidaset;
}
</script >";
$vidsub = "[script]document . write(res)[/script]";
echo $vidsub;
the problem is, when i save $vidsub to database it save in char not int
but when i echo , the value is int
i don't want to pass from function
sorry my bad english
thx