Skip to content

Remove an element from Json array

I stored my array content in form of json array to database . Format: [“1″,”2″,”3”] Now i retrieved the value from database and tried to remove the third element “2” from same structure. My code …

Laravel – Querybuilder with join and concat

Im trying to pull all users from the users table who match a certain group in the users_groups pivot table. Im using Sentry 2 from Cartalyst btw. This works to get all users with first and last name …

Deleting files after download in laravel

I’m creating a application that lets a user download a file. After the download i want the file to be deleted. The end of my code is like this: which means that the function ends on the return an i am not able to delete the file. I have tried to call a ‘after’ filter on the route but then

DELETE rows with prepared query in PHP and MySQL [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 8 years ago. Improve this question This …