You add data then come this error right?

|
YOUCODEWORLD 2021-05-18 19:31:08
Nelly A 2021-05-18 19:29:48
Alright, so it’s just plain and simple html… πŸ˜‰ Why make things simple whannyou can make them complicated πŸ˜‚

First i don’t undrestand your mean.

YOUCODEWORLD 2021-05-18 19:32:03
Virat 2021-05-18 19:30:06
No Please let me know

Why you don’t know. you add data then come this error right?

simon_an 2021-05-18 19:33:03
Virat 2021-05-18 19:24:47
How to give default value please tell me
I’m new to learn laravel

The error is telling you that firstname column in your table is not nullable, yet when you are saving your data to that table, you are not providing firstname

Nelly A 2021-05-18 19:33:25
YOUCODEWORLD 2021-05-18 19:31:08
First i don’t undrestand your mean.

Don’t worry, I was making a joke. You replied to my question. Thank you 😊

2021-05-18 19:36:37
Tirelessphyche 2021-05-18 15:48:17
ERROR: Hush! Sorry INSERT INTO data1 VALUES (‘123’, ‘132’,’132,’13’,’213′,’213′,’21’,’321′,’321′,’321′). You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ’13’,’213′,’213′,’21’,’321′,’321′,’321′)’ at line 2

You don’t have a single quote after the third value

sou s 2021-05-18 19:44:46
how to add ajax for laravel
Tirelessphyche 2021-05-18 19:45:20
2021-05-18 19:36:37
You don’t have a single quote after the third value

Yeah I got it

2021-05-18 19:53:32
sou s 2021-05-18 19:44:46
how to add ajax for laravel

You can use Ajax anywhere it has nothing to do with laravel

2021-05-18 19:54:02
Take a look at livewire it might be useful for you
ls232312 2021-05-18 20:14:53
Virat 2021-05-18 19:10:06

Insert data in first name. First name can not be null

SureshLaraDev 2021-05-18 20:21:30
TheTumaMan 2021-05-18 16:24:33
Sorry for asking a question even though I have just joined, but I have this problem:
“The POST method is not supported for this route. Supported methods: PUT, PATCH, DELETE.”.

In web.php I have this:
Route::resource(‘customers’, ‘CustomersController’)->except(‘show’)->middleware(‘auth’)

And, in blade.php I have this:
“<form id=”delete-customer-{{ $customer->id }}-form” action=”{{ route(‘customers.destroy’, $customer->id) }}” method=”POST” style=”display: none;”>
csrf
method(‘DELETE’)
</form>”.

Please can you help me? I’ve searched online but I have found nothing.

Is this solved??

TheTumaMan 2021-05-18 20:44:39
Unfortunately no
Tanish Singh 2021-05-18 21:10:04
Hey! my friend need a person who can do seo for his website? a person will be componensted for his/her work. need it urgently
2021-05-18 21:12:27
TheTumaMan 2021-05-18 20:44:39
Unfortunately no

Check your route list

2021-05-18 21:12:58
php artisan route:list
flyingdragons 2021-05-18 21:26:12
Using Javascript / Jquery

In a textarea while typing on KeyUp is there a way that I can get the current typing word and validate it whether its an URL or not?

I know the validation part. But how to get the current typing letter word.

Any help really appriciated

natghi2010 2021-05-18 21:26:54
$(“#element”).keyup()
flyingdragons 2021-05-18 21:27:19
It give the current letter.
flyingdragons 2021-05-18 21:27:36
But I need the typing word and not the pre typed words
natghi2010 2021-05-18 21:27:55
use split
natghi2010 2021-05-18 21:28:07
and take the latest element of the array
flyingdragons 2021-05-18 21:29:09
laravel_discuss-81784.jpg
Think that i am typing the letter typing I need that as a whole and not the previously type text
natghi2010 2021-05-18 21:29:27
if you use the split function
natghi2010 2021-05-18 21:29:37
with space as a delimiter
flyingdragons 2021-05-18 21:30:31
Okay how to know if he is typing the last word or the middle word like random with respect to the above image
flyingdragons 2021-05-18 21:31:58
Actually I am doing Link Preview similar to the facebook / twitter. I have done onBlur & onPaste as of now. But i need to do it by onKeyUp
flyingdragons 2021-05-18 21:32:11
Which is bit challenging
natghi2010 2021-05-18 21:32:18
i know
flyingdragons 2021-05-18 21:32:47
Thanks for the help man really appreciate a lot.
flyingdragons 2021-05-18 21:33:11
Just in case if you come accross any hint please do the needful
natghi2010 2021-05-18 21:33:27
flyingdragons 2021-05-18 21:33:11
Just in case if you come accross any hint please do the needful

its most likely a library

flyingdragons 2021-05-18 21:34:05
Sure not an issue. As far as I can include the library in Laravel I am happy to use it
simon_an 2021-05-18 21:40:54
flyingdragons 2021-05-18 21:26:12
Using Javascript / Jquery

In a textarea while typing on KeyUp is there a way that I can get the current typing word and validate it whether its an URL or not?

I know the validation part. But how to get the current typing letter word.

Any help really appriciated

https://jsfiddle.net/SimonAngatia/0v1p2tn6/107/

Edit fiddle – JSFiddle – Code Playgroundjsfiddle.net
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
simon_an 2021-05-18 21:41:47
Look at how I implemented it there to find the censored words when someone is typing in a text area
flyingdragons 2021-05-18 21:42:06
Hi Angatia. Thank you very much for the link. Its now working
|