All Questions

1

votes

0

answers

5 views

How to get current login user details using Laravel 5.7 Auth?

I used this code in Laravel 5.7 to get the current logged in user id : source code $user_id = User::find(Auth::id()); : but I get the results "Null"
1

votes

0

answers

3 views

How to pass variables and data from PHP to JavaScript or jQuery?

We want to PHP array store in jQuery or JavaScript variables and display chart or graphs. Is it Possible? var phpvalue = I have a array in PHP, and I need its value in my Ja...
1

votes

0

answers

3 views

Find Second Largest Number in an Array

How do I Find Second Largest Number in an Array? For example – Let’s take an array. Input – arr[] = { 4, 1, 5, 2, 11, 0, 3, 25} Output – 11
1

votes

0

answers

5 views

How to Display Day of Week in Javascript?

if We enter following date 31/12/2019, print the day of week on the input date. findDay(31/12/2019); // Print Monday
1

votes

0

answers

9 views

How to fix a website with blocked mixed content?

Mixed Content: The page at 'https://blog.domain_name.com/php/all_post.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://blog.domain_name.com/lib/css/style.css'. This request ...
1

votes

0

answers

4 views

Laravel Fix: No ‘Access-Control-Allow-Origin’ Header.

We are trying to make jquery $.ajax 'POST' on laravel server to http://192.168.1.14/api/method/login but the console gives Access-Control-Allow-Origin error.How to handle CORS in Laravel?
1

votes

0

answers

8 views

How to merge two DB query results in Laravel?

We have Three Eloquent Collections, i Want to merge Three query result into single object.Laravel how merge two query result into single object
2

votes

0

answers

8 views

Uncaught ReferenceError: CKEDITOR is not defined

How do We get The CKEditor CDN working from My Live Project? Now display Error : Uncaught ReferenceError: CKEDITOR is not defined "https://sdk.ckeditor.com/vendor/ckeditor/4.11.1/ckeditor.js"
2

votes

0

answers

9 views

How to Debug Sql Queries in Laravel?

Given the following Db Query: DB::table('users')->articles(); We need to get the raw SQL query format that run on SQL(Phpmyadmin) Run SQL query?
2

votes

1

answers

13 views

How to convert collection to an array using Laravel?

We have two models, Members and Message; many messages belong to a single member. We are trying to get all messages associated with a member as an array. We have the following, which gives a col...
Ask Question 78 questions
Search
Top Tags