How to pass newline as a string in php?

|
Acird Burn 2021-11-11 10:06:52
Hi all thier is a company currently hiring senior php developers that are based in Kampala to work full-time in office with a very competitive salary must have knowledge working with vuejs3 tailwind and reactjs on the Front-end with pure php and laravel php on the backend interested applicants can inbox I recommend them for the position
natghi2010 2021-11-11 10:17:19
shani804 2021-11-11 09:58:31
How to decrease size of image file in laravel … Size doesn’t mean decreasing width or height

the word you are looking for is compress

shani804 2021-11-11 10:27:22
natghi2010 2021-11-11 10:17:19
the word you are looking for is compress

Yeah compress … But I am searching on internet with compress keyword mostly take this compress mean as decrease height and width

natghi2010 2021-11-11 10:29:07
shani804 2021-11-11 10:27:22
Yeah compress … But I am searching on internet with compress keyword mostly take this compress mean as decrease height and width

http://image.intervention.io/

Abiodun_Web 2021-11-11 11:18:36
Any laravel developer i can have google meeting with please to discuss a challenge in my project to and can guide me on what to do
one_and_only_abhi 2021-11-11 11:20:23
What’s the problem
Abiodun_Web 2021-11-11 11:22:27
Abiodun_Web 2021-11-11 00:04:46
I have a view of array of courses here, I want a situation where by when i check those rows i can submit its value both id and name to my database course_registrations model and also submit the logged in user id or username along with the records… i am using a guard so am login with laravel guard Authentication

Here is my problem sir!

Abiodun_Web 2021-11-11 11:23:27
Abiodun_Web 2021-11-11 00:04:46
I have a view of array of courses here, I want a situation where by when i check those rows i can submit its value both id and name to my database course_registrations model and also submit the logged in user id or username along with the records… i am using a guard so am login with laravel guard Authentication

@one_and_only_abhi that my iv posted since last night

Abiodun_Web 2021-11-11 11:26:46
I posted with my controllers and views..
shani804 2021-11-11 12:34:52
natghi2010 2021-11-11 10:29:07
http://image.intervention.io/

There is problem in it I have to compromise on image quality which not affordable

diongultom 2021-11-11 13:11:16
laravel_discuss-99544.jpg
permisi admin
izin tanya, cara setting agar created at nya real time
terima kasih
Acird Burn 2021-11-11 13:55:30
hi all looking out for a senior full stack php developer working with reactjs vue3 and tailwind css on the front-end with pure php/laravel in the backend must have experience working with modular app development and design pattern able to create laravel packages as well from scratch if anyone is interested inbox Remote
profsr123 2021-11-11 13:58:43
how to pass newline as a string in php?
vikash_dev 2021-11-11 14:06:02
$scope.Close_Save = function(model, id, page) {
if (model && id && page) {
model.id = id;
model.page = page;
$http({
method: ‘POST’,
url: “{{url(‘Close_Save’)}}”,
data: ‘{model:’ + JSON.stringify(model) + ‘}’,
dataType: “json”,
}).then(function success(response) {
alert(‘Success-‘ + JSON.stringify(response.data));
}, function error(response) {
alert(‘Error-‘ + response.data);
});
}
}
vikash_dev 2021-11-11 14:06:15
save data using this code
vikash_dev 2021-11-11 14:08:12
anyone have a solution
S 2021-11-11 14:54:42
Which is the best push notifications tool
S 2021-11-11 14:56:00
For web and mobile
Acird Burn 2021-11-11 14:56:20
S 2021-11-11 14:54:42
Which is the best push notifications tool

pusher

S 2021-11-11 14:56:50
For web application or mobile application
skpnation 2021-11-11 16:34:00
Hello guys, I’m making a post request to an api and I’m getting this error: IlluminateDatabaseQueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘customer_name’ cannot be null
skpnation 2021-11-11 16:35:27
skpnation 2021-11-11 16:34:00
Hello guys, I’m making a post request to an api and I’m getting this error: IlluminateDatabaseQueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘customer_name’ cannot be null

laravel_discuss-99567.jpg

bryan_king 2021-11-11 16:53:07
skpnation 2021-11-11 16:35:27

You are not setting any value for customer name in your code

omar khaled 2021-11-11 16:53:22
laravel_discuss-99570.jpg

omar khaled 2021-11-11 16:55:06
when press delete button.
return to route show blade
not delete
Abiodun_Web 2021-11-11 18:47:21
Abiodun_Web 2021-11-11 00:04:46
I have a view of array of courses here, I want a situation where by when i check those rows i can submit its value both id and name to my database course_registrations model and also submit the logged in user id or username along with the records… i am using a guard so am login with laravel guard Authentication

No One Reply to this My Question

sbruder 2021-11-11 19:00:16
skpnation 2021-11-11 16:34:00
Hello guys, I’m making a post request to an api and I’m getting this error: IlluminateDatabaseQueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘customer_name’ cannot be null

if customer_name needs to be empty make a migration to make it nullable, if you need it filled, discover why it’s not getting it’s value correctly assigned.

sbruder 2021-11-11 19:01:58
@skpnation check if your model allows mass assign to that column.
Stan 2021-11-11 19:18:22
Abiodun_Web 2021-11-11 00:04:46
I have a view of array of courses here, I want a situation where by when i check those rows i can submit its value both id and name to my database course_registrations model and also submit the logged in user id or username along with the records… i am using a guard so am login with laravel guard Authentication

You didn’t say what was the problem

Stan 2021-11-11 19:18:41
Sure you’re talking of someone writing out the codes I guess?
Abiodun_Web 2021-11-11 20:49:51
Abiodun_Web 2021-11-11 00:08:12
Here is my controller

Stan i said after i check ☑ the checkbox how will i get its value of the rows store in the database with the user submitting together that my problem

Abiodun_Web 2021-11-11 20:51:32
Abiodun_Web 2021-11-11 00:10:58
Here is my view when i dd what was checked on the view on my controller, I can see the Array of checked item, but confuse some courses has same id because i merged two model using array_merge

Stan I now said ok i tried i can see the checked item in dd how can i submit this check items array to database with the user details logged in

kv_sanjay 2021-11-11 20:56:50
Abiodun_Web 2021-11-11 20:51:32
Stan I now said ok i tried i can see the checked item in dd how can i submit this check items array to database with the user details logged in

U have the answer…pass it as array and use foreach to add the data

kv_sanjay 2021-11-11 20:57:20
U could get the logged user details with auth()->user() function
kv_sanjay 2021-11-11 20:57:31
kv_sanjay 2021-11-11 20:57:20
U could get the logged user details with auth()->user() function

Check the doc

|