Update one field in database longtext data type in my controller
i want to update label value on my database using my controller,depending on the project_id
here is how the database look like
id
project_id
content : [{“id”:1,”reference”:”CM01″,”label”:”test”,”status”:”pending”,”priority”:”urgent”},{“id”:2,”reference”:”CM02″,”label”:”test2″,”status”:”pending”,”priority”:”urgent”},
…..
]
i’ve tried this but it’s not working :
laravel Namespace declaration statement has to be the very first statement or after any declare call in the script error but there is no whitespaces
there is no space before the namespace