skip to Main Content

why can't orderby desc and asc work? in laravel

example image data : when the js responds, the data has already been ordered by example image response js : example controller and query : $query = Verifikasi_tte::join('surat_ttes', 'surat_ttes.id', '=', 'verifikasi_ttes.surat_tte_id') ->join('users', 'users.id', '=', 'surat_ttes.user_id') ->join('jenis_surat_ttes', 'jenis_surat_ttes.id', '=', 'surat_ttes.jenis_surat_tte_id') ->select('surat_ttes.id','surat_ttes.klasifikasi','surat_ttes.no_surat','surat_ttes.tgl_surat','surat_ttes.created_at',…

VIEW QUESTION

Can't fetch URL from database WordPress

Hi everyone in the database a column called attachments stores data like this "a:3:{s:6:"saveTo";s:7:"wpmedia";s:14:"attachmentType";s:6:"images";s:11:"attachments";a:1:{i:0;a:6:{s:12:"attachmentId";i:176165;s:4:"file";s:68:"https://www.yallamission.com/wp-content/uploads/2022/10/MG_00283.jpg";s:8:"fileName";s:12:"MG_00283.jpg";s:9:"thumbnail";s:76:"https://www.yallamission.com/wp-content/uploads/2022/10/MG_00283-150x150.jpg";s:8:"fileSize";s:9:"292.85 KB";s:8:"fileType";s:10:"image/jpeg";}}} i need to fetch the image url only yet i am unable to do it successfully as i don't understand this format I tried to…

VIEW QUESTION
Back To Top
Search