← prev | next →
rohit267 2021-03-03 12:55:13
much easier
Hila Herman 2021-03-03 12:55:53
rohit267 2021-03-03 12:55:13
much easier
but i wand to delete duplicates in array not in table at database
rohit267 2021-03-03 12:56:28
Hila Herman 2021-03-03 12:55:53
but i wand to delete duplicates in array not in table at database
select distinct then 😂
Hila Herman 2021-03-03 12:56:49
rohit267 2021-03-03 12:56:28
select distinct then 😂
how?
rohit267 2021-03-03 12:57:15
Hila Herman 2021-03-03 12:56:49
how?
what’s your end goal?
Hila Herman 2021-03-03 12:57:52
rohit267 2021-03-03 12:57:15
what’s your end goal?
I want to change that only if the same name and same age appear together in the line in database, only then will it remove such duplication,
rohit267 2021-03-03 12:59:41
Hila Herman 2021-03-03 12:57:52
I want to change that only if the same name and same age appear together in the line in database, only then will it remove such duplication,
like this
rohit267 2021-03-03 12:59:43
https://chartio.com/learn/databases/how-to-find-duplicate-values-in-a-sql-table/
How to Find Duplicate Values in a SQL Table –
ChartioLearn how to check a database table for duplicate values using a simple query.
Hila Herman 2021-03-03 13:01:03
rohit267 2021-03-03 12:59:43
https://chartio.com/learn/databases/how-to-find-duplicate-values-in-a-sql-table/
this to database, I have a array objects
Hila Herman 2021-03-03 13:01:34
Hila Herman 2021-03-03 12:47:33
and this my code to one parameter and i need for two parameters
rohit267 2021-03-03 13:02:57
Hila Herman 2021-03-03 13:01:34
and this my code to one parameter and i need for two parameters
first try to print the index which are duplicates
Hila Herman 2021-03-03 13:31:09
rohit267 2021-03-03 13:02:57
first try to print the index which are duplicates
But how can I find the duplicate for two parameters, that’s my question
rohit267 2021-03-03 13:33:42
Hila Herman 2021-03-03 13:31:09
But how can I find the duplicate for two parameters, that’s my question
2 steps, first get duplicate names, then compare their dates
Hila Herman 2021-03-03 13:34:39
rohit267 2021-03-03 13:33:42
2 steps, first get duplicate names, then compare their dates
Can’t do it together in one foreac in one step?
rohit267 2021-03-03 13:35:44
Hila Herman 2021-03-03 13:34:39
Can’t do it together in one foreac in one step?
just one question, why?
Hila Herman 2021-03-03 13:38:16
rohit267 2021-03-03 13:33:42
2 steps, first get duplicate names, then compare their dates
you mean to delete duplicates according names and for this after it delete according ages?
rohit267 2021-03-03 13:40:18
Hila Herman 2021-03-03 13:38:16
you mean to delete duplicates according names and for this after it delete according ages?
not delete, store the index which are duplicates, use 2d arrays, then on them check which have duplicate dates, then delete
Hila Herman 2021-03-03 13:44:10
rohit267 2021-03-03 13:40:18
not delete, store the index which are duplicates, use 2d arrays, then on them check which have duplicate dates, then delete
ok, I understand thanks you!
if someone have a solution in one step I will be happy
Jaatsaab2 2021-03-03 15:22:39
Need php developer
I need help some in php codes I want Indian php developer he conversation with me in hindi
I have php coding bot
I want to do a modifications in bot codes
I am also ready to pay
ProHider 2021-03-03 15:31:22
Jaatsaab2 2021-03-03 15:22:39
Need php developer
I need help some in php codes I want Indian php developer he conversation with me in hindi
I have php coding bot
I want to do a modifications in bot codes
I am also ready to pay
You can msg me
Jaatsaab2 2021-03-03 15:34:52
ProHider 2021-03-03 15:31:22
You can msg me
Ok check dm
Tushar Waghmare 2021-03-03 15:46:46
I am new
Prudhvigupta95 2021-03-03 15:49:47
Hila Herman 2021-03-03 18:49:40
How can I get only the date from objrct like this:2021-03-02 14:54:33 ?
Shubham 2021-03-03 19:20:42
Hila Herman 2021-03-03 18:49:40
How can I get only the date from objrct like this:2021-03-02 14:54:33 ?
use date format or substr function.
Hila Herman 2021-03-03 19:21:20
Shubham 2021-03-03 19:20:42
use date format or substr function.
I try thanks
deepakchahar 2021-03-03 20:39:48
Hila Herman 2021-03-03 18:49:40
How can I get only the date from objrct like this:2021-03-02 14:54:33 ?
$date = date(‘d’, strtotime(date(‘2021-03-02 14:54:33’)));
deepakchahar 2021-03-03 20:40:18
Jaatsaab2 2021-03-03 15:22:39
Need php developer
I need help some in php codes I want Indian php developer he conversation with me in hindi
I have php coding bot
I want to do a modifications in bot codes
I am also ready to pay
Dm me bro
MareeduBhanuGOUD 2021-03-03 21:15:46
Hi I’m Mareedu Bhanu I have an 2 years Experience in Front End & Back End Web Developer Due to some Reason’s I’m changing the company Any Company vacancies r there please Help me
vishalprajapati1993 2021-03-03 21:17:30
Any one have use of ajax demo using save data from DB with client side validation in code Igniter?
RichardMuvirimi 2021-03-03 22:07:51
vishalprajapati1993 2021-03-03 21:17:30
Any one have use of ajax demo using save data from DB with client side validation in code Igniter?
https://t.me/codeigniter4
codeigniter developers –
TelegramBest php framework Codeigniter
kameshindore 2021-03-04 06:11:35
trisharoy96 2021-03-02 20:52:31
can we connect database in server A in php file stored in server B
Yes
ipsita11 2021-03-04 10:13:15
In a table status values are active nd inactive in db. While fetching the table we should only show the active value. Nd once the active changes to inactive that row value ll removed from frontend table not from backend. How???
Shubh2921 2021-03-04 10:22:14
ipsita11 2021-03-04 10:13:15
In a table status values are active nd inactive in db. While fetching the table we should only show the active value. Nd once the active changes to inactive that row value ll removed from frontend table not from backend. How???
Change the status, add the columns in table act_status where default value is as per you need suppose 1- active and 0-Deactive.
Then write sql query where you pass status value is dynamic
Qry is like
Select * from xyz where act_status = status
Here status you will pass dynamic.
← prev | next →