Question: The below code search for the first column of any table on webpage, and i want to search the data from second column. what editing do i need to do to get the desired output ?

```
<script>
function myFunction() {
  var input, filter, table, tr, td, i;
  input = document.getElementById("myInput");
  filter = input.value.toUpperCase();
  table = document.getElementById("myTable");
  tr = table.getElementsByTagName("tr");
  for (i = 0; i < tr.length; i++) {
    td = tr[i].getElementsByTagName("td")[0];
    if (td) {
      if (td.innerHTML.toUpperCase().indexOf(filter) > -1) {
        tr[i].style.display = "";
      } else {
        tr[i].style.display = "none";
      }
    }       
  }
}
</script>

```

Answer: 
For myself, I found that in composer.json I had the wrong references to the php command: I changed the lines that specified a location for php, for example:

```
"@/usr/local/bin/php artisan key:generate"

```

to:

```
"@php artisan key:generate"

```

After those changes, I was able to execute the command "composer update" with no error.
I just had this issue trying to add composer native `cache-clear` command to a custom script I made called `composer nuke`. I was using it as `@clear-cache` and got the message, "You made a reference to a non-existent script @clear-cache". 

I guess the `@` symbol is only for custom commands. I had to put `composer cache-clear` inside the custom command and the error was resolved and the command ran as expected then.