How dynamic caching data on laravel?

|
haydarsahin 2019-01-25 15:19:54
but I want get id on url
haydarsahin 2019-01-25 16:11:23
I solved prblem
haydarsahin 2019-01-25 16:13:23
thx everbody
WebDeveloperFromHM 2019-01-25 16:25:13
Hello friends
How dynamic caching data on laravel?
haydarsahin 2019-01-25 16:56:11
did you read laravel doc ?
WebDeveloperFromHM 2019-01-25 16:57:49
haydarsahin 2019-01-25 16:56:11
did you read laravel doc ?

Yes
I want create class to cache of database row and use on models

WebDeveloperFromHM 2019-01-25 16:58:26
When row add or remove cache recreate
WebDeveloperFromHM 2019-01-25 18:09:37
Please Help
StanleyMasinde 2019-01-25 18:10:49
haydarsahin 2019-01-25 16:11:23
I solved prblem

I’m glad

Leetump 2019-01-25 18:37:35
Please help to make attendance system in laravel
2019-01-25 18:38:29
Leetump 2019-01-25 18:37:35
Please help to make attendance system in laravel

Why you need help?

Leetump 2019-01-25 18:39:29
I don’t the logic
Leetump 2019-01-25 18:39:49
So how I make
2019-01-25 18:40:42
Leetump 2019-01-25 18:39:49
So how I make

By code i guess.

Leetump 2019-01-25 18:40:57
I know
Leetump 2019-01-25 18:40:58
The laravel
Leetump 2019-01-25 18:41:02
OK
2019-01-25 18:41:11
Are you new in laravel?
Leetump 2019-01-25 18:41:21
Yes
2019-01-25 18:41:44
So read laravel documents first.
Leetump 2019-01-25 18:42:14
U gave me link where i should learn attendance system
Leetump 2019-01-25 18:42:23
2019-01-25 18:41:44
So read laravel documents first.

I already read it

Leetump 2019-01-25 18:43:02
I also know the crud operation
2019-01-25 18:44:21
mahdialk 2019-01-25 14:11:15
Create Request class for your model and define it like this

public function store( FormRequest $request)

and you should define your validation rules in request class in rules function

Thank you
🙏🙏🙏
Very nice

WebDeveloperFromHM 2019-01-25 19:01:11
Tankyou for nice help
behzadaminnima 2019-01-26 07:54:10
behzadaminnima 2019-01-25 14:54:46
Hi guys
Someone has written a robot with Larawl to create content on the site

no body?

Mcmike2 2019-01-26 08:08:13
Hey guys is there any one how knows how to integrate a rf id with laravel
Ahmed Magdi 2019-01-26 09:45:32
2019-01-25 13:03:37
Is another way to validate a form?

actually
Just try $this

Puplic function store (Request $request){
$this->validate ($request, [
‘Content’ => ‘required’,
]);}

2019-01-26 12:14:59
Anyone who has color-admin template to implement in laravel
MontyLalwani 2019-01-26 12:28:25
Just download color admin template from google
2019-01-26 12:53:26
MontyLalwani 2019-01-26 12:28:25
Just download color admin template from google

laravel_discuss-1145.jpg
Meant this one

2019-01-26 12:55:02
Overview that
2019-01-26 12:55:06
Overide
2019-01-26 13:10:36
2$ where is that?
2019-01-26 13:12:01
Why
2019-01-26 13:12:12
Yep no cash now
2019-01-26 13:13:21
Yep
MontyLalwani 2019-01-26 13:28:21
2019-01-26 12:53:26
Meant this one

U dont know how to buy paid template to free

2019-01-26 13:33:16
Mmh
yoofi_graham 2019-01-26 13:37:10
MontyLalwani 2019-01-26 13:28:21
U dont know how to buy paid template to free

No. How?

2019-01-26 13:40:03
I don’t want us to understand what u saying or what??
2019-01-26 13:40:11
2019-01-26 13:40:03
I don’t want us to understand what u saying or what??

U*

Abolfazl_652 2019-01-26 13:41:54
2019-01-26 13:40:03
I don’t want us to understand what u saying or what??

what he said is not that secret 😉

rijisoft 2019-01-26 21:03:27
Ranking for users , sum of value for totalpoints that users listed

Hi
I have a table
points :
user_id -|- value
19534 -|- 20
19535 -|- 40
19534 -|- 20
19536 -|- 33
19530 -|- 33
19537 -|- 10
19537 -|- 1

SELECT s.order_id, @rank := @rank + 1 rank ,TotalPoints FROM (
SELECT order_id, sum(value) TotalPoints FROM points
GROUP BY order_id
) s, (SELECT @rank := 0) init
ORDER BY TotalPoints DESC

I use this query and get this

user_id -|- rank -|- sum(value)
19534 -|- 1 -|- 40
19535 -|- 2 -|- 40
19536 -|- 3 -|- 33
19530 -|- 4 -|- 33
19537 -|- 5 -|- 11

But i want this result
and i want to get rank for each user_id
like this

user_id -|- rank -|- sum(value)
19534 -|- 1 -|- 40
19535 -|- 1 -|- 40
19536 -|- 3 -|- 33
19530 -|- 3 -|- 33
19537 -|- 5 -|- 11
Help Thanks

devink0430 2019-01-26 21:17:58
rijisoft 2019-01-26 21:03:27
Ranking for users , sum of value for totalpoints that users listed

Hi
I have a table
points :
user_id -|- value
19534 -|- 20
19535 -|- 40
19534 -|- 20
19536 -|- 33
19530 -|- 33
19537 -|- 10
19537 -|- 1

SELECT s.order_id, @rank := @rank + 1 rank ,TotalPoints FROM (
SELECT order_id, sum(value) TotalPoints FROM points
GROUP BY order_id
) s, (SELECT @rank := 0) init
ORDER BY TotalPoints DESC

I use this query and get this

user_id -|- rank -|- sum(value)
19534 -|- 1 -|- 40
19535 -|- 2 -|- 40
19536 -|- 3 -|- 33
19530 -|- 4 -|- 33
19537 -|- 5 -|- 11

But i want this result
and i want to get rank for each user_id
like this

user_id -|- rank -|- sum(value)
19534 -|- 1 -|- 40
19535 -|- 1 -|- 40
19536 -|- 3 -|- 33
19530 -|- 3 -|- 33
19537 -|- 5 -|- 11
Help Thanks

can use “group by sum(value)” ?

rijisoft 2019-01-26 21:18:29
devink0430 2019-01-26 21:17:58
can use “group by sum(value)” ?

Sorry!

rijisoft 2019-01-26 21:20:02
rijisoft 2019-01-26 21:18:29
Sorry!

how can i found which user_id that have this sum(value) ??!

devink0430 2019-01-26 21:45:59
http://sqlfiddle.com/#!9/be657c/1

SQL Fiddle | A tool for easy online testing and sharing of database problems and their solutions.SQL Fiddle
Application for testing and sharing SQL queries.
rijisoft 2019-01-26 21:50:47
devink0430 2019-01-26 21:45:59
http://sqlfiddle.com/#!9/be657c/1

this is not my answer , It’s my query that i think its not true for me

devink0430 2019-01-26 22:30:54
rijisoft 2019-01-26 21:50:47
this is not my answer , It’s my query that i think its not true for me

http://sqlfiddle.com/#!9/be657c/37

SELECT s.order_id, TotalPoints,
@c := @c + 1 i ,
CASE
WHEN @prev_value = TotalPoints THEN @rank
WHEN @prev_value := TotalPoints THEN @rank := @c
END AS rank
FROM (
SELECT order_id, sum(value) TotalPoints
FROM points
GROUP BY order_id
) s,
(SELECT @rank := 0, @c := 0, @prev_value := NULL) init
ORDER BY TotalPoints DESC

SQL Fiddle | A tool for easy online testing and sharing of database problems and their solutions.SQL Fiddle
Application for testing and sharing SQL queries.
|