how to fix Warning: Use of undefined constant _ – assumed ‘_’ (this will throw an Error in a future version of PHP)

Question

Warning: Use of undefined constant _ – assumed ‘_’ (this will throw an Error in a future version of PHP) in D:xampphtdocskeuangan_rsaksi_konten.php on line 52

elseif($aksi=="edit" AND $_POST['submit']){ 
    $nama = $_POST['nama_projek']; 
    $lokasi = $_POST['lokasi']; 
    $item = $_POST['item_pekerjaan']; 
    $nilai = $_POST['nilai_projek']; 
    $owner = $_POST['owner']; 
    $inisial = strtoupper($_POST['inisial_owner']); 
    $pic_owner = $_POST['pic_owner']; 
    $tanggal = $_POST['tanggal']; 
    $lama = $_POST['lama_pekerjaan']; 
    $file = $_FILES['gambar']['name']; 
    $acak = rand(1,99); 
    $filename = $acak._.$file; -------------------->online 52
0
Sutan Ilhamsyah Siregar 7 months 0 Answers 105 views 0

Leave an answer