jeevamugunthan

jeevamugunthan

Software Engineer at Technology Species

Member Since 8 Months Ago

coimbatore

Experience Points
4,080
Total
Experience

920 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
2
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
4,080 XP
Nov
16
1 week ago
Activity icon

Replied to Count Divs And Show One Div

Can you please ask your question little bit clearly

Activity icon

Replied to Count Divs And Show One Div

you can add different id for each class make this changes in your for loop

var myPara=document.getElementsByClassName("example");

myPara.setAttribute("id", "id_you_like");
Activity icon

Replied to What Would Your Approach Be?

Simply you can make all companies in one table this is the best way, make all fileds as an column in db table and make each column as nullable

Activity icon

Replied to Count Divs And Show One Div

@kikoldasd can you please explain this little more then show me your values which you want to display

Activity icon

Replied to Count Divs And Show One Div

in jquery use this

$('.specific-class').length

otherwise

document.querySelectorAll('.specific-class').length;
Activity icon

Replied to Laravel Queue:work Setup In Background Cpanel

it is an one time process if you run this commend the mail will send when we trigger, if you want to send emails automatically for example (need to send emails every week first day) you need to set cron job

check this it will helps you

https://medium.com/@rafaelogic/use-laravel-notifications-and-schedule-to-send-email-notification-a1a4c652a816

Activity icon

Replied to Laravel Queue:work Setup In Background Cpanel

@neeraj1005 make it

QUEUE_CONNECTION=database

and run this commend in your cpanel terminal

php artisan queue:work

it should be work

or you can set cron job in your cpanel

Nov
13
2 weeks ago
Activity icon

Replied to Ranking System For Multiple Data

try this

$stuff =yourModal::get();
    $user=$stuff -> groupBy('rider_id')
      ->map(function ($row) {
        return $row->sum('point');
      });
Activity icon

Replied to 500 Error. Internal Server Error.

@amit028 check your php version in your cpanel if php version not match means change it and check your .evn file the run this commend

php artisan config:cache
php artisan cache:clear

after that try to run your website in incognito window or proxy site

Activity icon

Replied to Field 'password' Doesn't Have A Default Value

@roygoode try this

'password' =>[ 'required','string'],
 'c_password'=>['required','same:password'],
Nov
12
2 weeks ago
Activity icon

Replied to Field 'password' Doesn't Have A Default Value

this error told there is no value passed in password in your user table the password column is must be filled so please check if there is any value in your password input

Activity icon

Replied to Show Hide Div Based On Dropdown Selection

<div class="form-group">
          <label>Team</label>
          <select  name="team_id" class="form-control select2"  data-placeholder="Select a Team" id="team_id"
          style="width: 100%;" onchange="change_type()">
          <option>[SELECT]</option>
        @foreach($teamlist as $key=>$type)
       <option value="{{$key}}">{{$type}}</option>
        @endforeach
        </select>
      </div>
<script>
function change_type(){
      $("#toshow").hide();   //which element you want to hide or show
          function typeofdate(){
        var type =$("#team_id").val();

        if(type == 2 || type == 3){
          $("#toshow").show();
        }else{
          $("#toshow").hide();
        }

      }
}
</script>
Activity icon

Replied to Show Hide Div Based On Dropdown Selection

@emfinanga in type == 2 2 is the value of selected option

Activity icon

Replied to UploadedFile->move() Unknown Error

can you show me your code

Activity icon

Replied to How To Push?

you can use Formdata for this for example

var data = new FormData();
      var form_data = $('#form_id').serializeArray();
      $.each(form_data, function (key, input) {
        data.append(input.name, input.value);
      });
      
      data.append("name_of_var1",var1);
      data.append("name_of_var1",var2);
      data.append("name_of_var1",var2);

	      $.ajax({
        url: "Your url",
        method: 'post',
        processData: false,
        contentType: false,
        data:data,
        success: function(data){
          console.log(data);
        }
      });
    
Nov
11
2 weeks ago
Activity icon

Replied to Show Hide Div Based On Dropdown Selection

you need to use onchange function jquery , for example

<select class="form-control" name="type" id="type" onchange="typeofdate()" required>
              <option selected value="">Select data type</option>
              <option value="1">First Level Contacts</option>
              <option value="2">Social Distance</option>
              <option value="3">Crowed Location</option>
              <option value="4">Restricted Location</option>
            </select>
<script>
      $("#toshow").hide();   //which element you want to hide or show
          function typeofdate(){
        var type =$("#type").val();

        if(type == 2 || type == 3){
          $("#toshow").show();
        }else{
          $("#toshow").hide();
        }

      }
</script>
Activity icon

Replied to Problem With .htacces File

which error is shown in your domain...?

Nov
10
2 weeks ago
Activity icon

Replied to Popup On Bottom Of Page

you need to add this things in your script

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>

and also add css cdn in link

https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css
Nov
09
2 weeks ago
Activity icon

Replied to Unable To Display Raw Html Data In Blade File Using Substr Function

try this

use Illuminate\Support\Str;

// Create a testing string.
$testString = '0123456789';



// 01
Str::substr($testString, 0, 2);

Activity icon

Replied to Hidden Input Not Working

can you show how you submit the form

typically the hidden input field value is not submit when the form submitted.

Activity icon

Replied to How To Show 3 Different Data In One Foreach View Laravel?

can you please show the $pops array

Activity icon

Replied to How Can I Solve "Connection Could Not Be Established With Host Smtp.gmail.com"?

@snapey haahaa...!! i didn't see the posted date , but the conversation is still going on i mention the wrong person

Activity icon

Awarded Best Reply on How To Push In Ajax?

you can use Formdata for this

var data = new FormData();
      var form_data = $('#form_id').serializeArray();
      $.each(form_data, function (key, input) {
        data.append(input.name, input.value);
      });
      
      data.append("name_of_var1",var1);
      data.append("name_of_var1",var2);
      data.append("name_of_var1",var2);

	      $.ajax({
        url: "Your url",
        method: 'post',
        processData: false,
        contentType: false,
        data:data,
        success: function(data){
          console.log(data);
        }
      });
    
Activity icon

Replied to How To Push In Ajax?

you can use Formdata for this

var data = new FormData();
      var form_data = $('#form_id').serializeArray();
      $.each(form_data, function (key, input) {
        data.append(input.name, input.value);
      });
      
      data.append("name_of_var1",var1);
      data.append("name_of_var1",var2);
      data.append("name_of_var1",var2);

	      $.ajax({
        url: "Your url",
        method: 'post',
        processData: false,
        contentType: false,
        data:data,
        success: function(data){
          console.log(data);
        }
      });
    
Activity icon

Replied to Laravel Realtionsip With Where Condition Which Matches Base Table Column Value

you can use only join query

$cat['easy_correct_attempt'] = DB::table('user_answers')
        ->leftjoin('questions','user_answers.question_id','=','questions.question_id')->leftjoin('question_categories','questions.question_category','=','question_categories.question_category_id')->leftjoin('user_tests','user_answers.user_test_id','=','user_tests.user_test_id')
->where('user_answers.user_answer','=','questions.correct_option')
->where('questions.question_level','=','Easy')
->where('user_tests.user_id',$ckeck_user_id)
->whereIn('user_tests.user_test_id',$ids)
->whereIn('questions.language',$languageids)
->count();
       
Activity icon

Replied to Could I Add Route For Laravel Form?

@flex can you please explain little more..?

Nov
07
3 weeks ago
Activity icon

Replied to How To Get Data From Two Controller Function In A Single View In Laravel

you need to use inject for inject controller in your blade

Activity icon

Replied to How Can I Solve "Connection Could Not Be Established With Host Smtp.gmail.com"?

@moses when you use gmail as your outgoing mail server you need to disable 2 step verification in your gmail account try this hope it will works fine... ;)

Nov
03
3 weeks ago
Activity icon

Replied to Failed To Open Stream No Such File Or Directory

@oxbir have you set the correct root in your domain document root...?

need to check the .env file details

you can run the artisan commend in your cpanel terminal

Activity icon

Replied to Failed To Open Stream No Such File Or Directory

now you update your question now only i saw you question fully

check your .env file and clear the cache and try again

php artisan config:cache
php artisan cache:clear

Activity icon

Replied to Failed To Open Stream No Such File Or Directory

because there is no file in that name you're given in path can you show me the code

Activity icon

Awarded Best Reply on How To Send Emails Automatically Depends On Database Table In Laravel

@globaltote thanks for your reply i done this by

creating an Schedule in my project , and cron job in my sever

Activity icon

Replied to How To Send Emails Automatically Depends On Database Table In Laravel

@globaltote thanks for your reply i done this by

creating an Schedule in my project , and cron job in my sever

Activity icon

Replied to WhereHas Count Based On Column

@weband you can filter this using joining table method

Activity icon

Replied to JavaScript: How To Convert Today Date Format To Native Date Format ?

 var today = new Date();
    alert(today);
Activity icon

Replied to {{ Csrf_field() }} Added Tokenmismatch Exception

@muazzamazaz

just add this

<form class="form-horizontal" role="form" method="POST" action="{{ url('/provider/register') }}">
@csrf

</form>
Oct
31
4 weeks ago
Activity icon

Started a new Conversation How To Send Emails Automatically Depends On Database Table In Laravel

Hello everyone, i have an mysql database table which is update every second from AWS server . Now i want to send emails automatically to user depends on DB table datas change how can i do that.

thanks in advance

Oct
25
1 month ago
Activity icon

Started a new Conversation Joining Table From Different Datatbase

here is my code i want to join tables from two diiferent database

    <?php

            $servername = "198.50.156.8";
            $username = "wwwvemak_eraise";
            $password = "";
            $databse="wwwvemak_eraise";

           
            
            $servername1 = "localhost";
            $username1 = "aptiot_123";
            $password1 = "";
            $databse1="aptiot_123";

            // Create connection
            $conn = mysqli_connect($servername, $username, $password,$databse);
             mysqli_select_db($conn,"db1");
             
            $conn1 = mysqli_connect($servername1, $username1, $password1,$databse1);
           
            mysqli_select_db($conn1,"db2");
            // Check connection
            if ($conn1->connect_error) {
              die("Connection failed: " . $conn1->connect_error);
            }
            echo "Connected successfully";
            


        $tag="SELECT db1.devices.* ,db2.location.location_name as name ,db2.config_tag.tagvalue as tagname 			 
        FROM db2.config_tag
        LEFT JOIN db2.tags ON db2.config_tag.id = db2.tags.tag_id
        LEFT JOIN db1.devices ON db2.config_tag.macaddress =db1.devices.mac_address
        LEFT JOIN db2.config_beacon ON db1.devices.gateway_mac_address = db2.config_beacon.mac_address
        LEFT JOIN db2.location ON db2.config_beacon.location_id = db2.location.id

        WHERE config_tag.ref_user_id = 1";
               
                 
               
  ?>
                            <?php  
                          if(mysqli_num_rows($tag) > 0)  
                          {  
                               while($row = mysqli_fetch_array($tag))  
                               {  
                          ?>  
                          <tr>  
                               <td><?php echo $row["battery"];?></td>  
                               <td><?php echo $row["tagname"]; ?></td>  
                               <td><?php echo $row["updated_at"]; ?></td>  
                          </tr>  
                          <?php  
                               }  
                          }  
                          ?>
Oct
17
1 month ago
Activity icon

Replied to Str_replace

hi, @kingmaker_bgp now i'm creating an fill in the blank quiz i stored question like

___ is the silicate mineral with the lowest melting ___ and the greatest resistance to weathering.

now i want to replace ___(underscore) with input box for get answers from users

Activity icon

Started a new Conversation Str_replace

hello everyone ,

how can i replace underscore with input box with name and id attribute by using string replace method

Activity icon

Replied to The GET Method Is Not Supported For This Route. Supported Methods: HEAD.

can you please show me your route file

Oct
16
1 month ago
Activity icon

Replied to Nested Array

@sinnbeck Thanks a lot

Activity icon

Replied to Nested Array

@sinnbeck thanks for your reply i tried it but got null values only

Illuminate\Support\Collection {#1382 ▼
  #items: array:2 [▼
    0 => null
    1 => null
  ]
}
Activity icon

Started a new Conversation Nested Array

hello everyone, want to get particuler value in array from nested array my array is

array:7 [▼
  0 => []
  1 => []
  2 => []
  3 => array:2 [▼
    0 => {#1713 ▼
      +"device_id": 2
      +"child": "3"
    }
    1 => {#1714 ▼
      +"device_id": 3
      +"child": "2"
    }
  ]
  4 => []
  5 => []
  6 => array:2 [▼
    0 => {#1718 ▼
      +"device_id": 3
      +"child": "2"
    }
    1 => {#1719 ▼
      +"device_id": 4
      +"child": "5,6,8,1,10,9"
    }
  ]
]

i want to get only child

Oct
05
1 month ago
Activity icon

Replied to Project Hosting Challenge

check your database details in your .env file

Activity icon

Replied to How To Display An Error Message Of A Select Field In Laravel

@vusumzi make this changes in your code

<option  value="">Choose...</option>

and in your controller

'province' => 'required',

and also check your header form data in network tab, for any values is there in the name of province

Activity icon

Replied to Mail Queue

@laracoft @snapey when i run php artisan queue:work & its working

is it the proper way...? can i done with this..?

Activity icon

Replied to Mail Queue

@laracoft yes