Skip to content
Advertisement

How to get room id in laravel broadcast channel.php

Here is my js Here is PersonalChat.php Here is My channels.php I asked my question in my channels.php and PersonalChat.php Again May I say My question is ** How to get room id ** in channels.php and PersonalChat.php Thank you all Sorry for my english skill Answer you can accept param in channel.php like {roomId} then in call back you

Radio button for each row data retrieve from database

I success to retrieve the data but i got the problem with the radio button where I want each row the radio button is checked for the Tidak label The image of the problem is here Answer In your current code name attribute of radio button is same so only one radio will be set as selected .Instead change your

hasManyThrough – Laravel 5.8

I have database table structure like : ClassRoom id (int) PK name (varchar) ClassTeacherCourse id (int) PK id_classroom (int) FK id_teacher (int) FK id_course (int) FK Course id (int) PK course_name (varchar) Teacher id (int) PK teacher_name (varchar) So far I have code just to call ClassRoom table & ClassTeacherCourse, like : Relationship in Class Model : Result : I

php7.3 ftp_cdup() throws “CDUP successful” exception in some FTP servers [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question Exception is ftp_cdup(): CDUP successful. “/” is current directory In fact this is normal. Answer First, I do not think that ftp_cdup (nor any other

Advertisement