May 23, 2019, at 00:00 AM

I'm bulding an exception log into my Laravel app to send mails or Telegram messages when an error identified as important is dispatchedActually, I'm using a 'try catch' block on each of my controller functions to catch an exception dispathced by any part of my app

May 22, 2019, at 11:50 PM

I have production script that copies and renames files from one mounted network share to another (both CIFS), and sometimes the copy function hangs indefinitely on read I/O dropping the process into uninterruptible sleep where it can only be killed with SIGKILL(Thankfully, TASK_KILLABLE, apparently

May 20, 2019, at 4:20 PM

i'm trying to insert data in my db but i have this error and i don't understand by what it's caused so i need your help please to fix it

May 20, 2019, at 4:10 PM

I want get domain statues in WHMCS client area by using below code, but its output showing duplicate values, is there any help so i can remove duplicate values

May 19, 2019, at 12:30 PM

How can I make an HTML (and CSS/PHP/JavaScript) document which only allows certain IP addresses on a page?

May 19, 2019, at 12:20 PM

I've found plenty of examples that either don't show the query, or don't show the codeI'm looking to format the output as such:

May 18, 2019, at 08:40 AM

I'm having a problem like many other people, being able to read a PHP array variable after having sent it through ajax() postAjax is succeeding and displaying the returned data, which is NULL

May 18, 2019, at 08:30 AM

I'm calling a function to insert some thing in SQL, and I wanted to know if is it safe to have the function as second condition to an if statement, and if it would be called only when the first condition is true, and I would like to know if it would be good pratice too;

May 17, 2019, at 04:40 AM

For a little project I'm doing, I need to restrict user access on my HTML page

May 16, 2019, at 01:00 AM

sorry if this question has already been asked

May 16, 2019, at 00:50 AM

estoy creando un sistema de reportes de ocupación de salas, ya hemos creado los filtros (año,mes,semestre) y actualmente las consultas se están almacenando en una tabla :

May 14, 2019, at 9:10 PM

I setup a Laravel-zero application and installed the database componentI am using the $this->table function to show all "projects" which i am retrieving by $projects = DB::table('projects')->get()->toArray(); The only thing is that is giving an error: " A row must be an array or a TableSeparator instance

May 13, 2019, at 5:20 PM

I have 2 tables one called Exams and the other Exam ResultsIn the exam I enter the passing_score and in the Exam Results I save the answer of the exam

May 13, 2019, at 5:10 PM

I have a array like this :

May 12, 2019, at 1:20 PM

How do I add gmail smtp settings to this php file?

May 11, 2019, at 09:40 AM

I'm looking for a way to make a small preview of another page from a URL given by the user in PHP

May 11, 2019, at 09:30 AM

I have 20 digits|length string, example: 22223333333334444333How to manipulate with given format, like this: 00-00-000-000-000-0000-000 in PHP?

May 10, 2019, at 05:50 AM

I'm trying to get the latest post to be a full postThis post can come from two different post types 'post' and 'tutorial'

May 09, 2019, at 01:50 AM

My user can upload two images and I have to create a sprite with both image side by sideI'm struggling a little to find how I can merge them into a white image

May 07, 2019, at 10:10 PM

I have the following link in blade file to link courceblade

May 07, 2019, at 10:00 PM

How to write AES key and iv from Arduino library in PHP?

May 06, 2019, at 6:20 PM

I have faced some redirect issue regarding my wordpress site

May 05, 2019, at 2:30 PM

I am displaying a table and each row of table have a approve and reject button and after clicking on approve the status should reflect to database as approved

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.