search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉347804896

P粉347804896

Follow
student

Follow 0
fans 0
integral 0
how to delete duplicate rows from a table in mysql

I need to delete duplicate record from table in mysql. So i have a table name "employee" fields are empid, empname, empssn for getting duplicate record i have written a query SELECT

2026-01-24 18:01:11Ask
MySQL
How do I sort a vector of pairs based on the second element of the pair?

If I have a vector of pairs: std::vector vec; Is there and easy way to sort the list in increasing order based on the second element of the pair? I know I can write a little functio

2026-01-03 15:43:09Ask
C++
Send cookie with file_get_contents

The example on PHP manual shows how you can use stream contexts to send a cookie. Here is the excerpt: // Create a stream $opts = array( 'http'=>array( 'method'=>"GET", 'h

2026-01-02 17:43:17Ask
PHP
Doing a while / loop to get 10 random results

Hello i'm trying to make a tag script for my website so each time a search engine comes to my website 10 different tags will show on my website. These tags will be grabbed from the

2025-12-16 07:22:21Ask
MySQL
How to query multiple select elements stored in database

Querying areas of expertise (stored as an array of any selected items) does not work. I'm trying to figure out a way to get registered farmers' areas of expertise when editing. I have two tables. Registered farmers table and professional field table in the database. Specialties are stored in the Specialties table. The registered farmers table contains all data of registered farmers. This is the expertise area table: area_of_expertise_idid_number_of_the_farmerareas_of_expertiseregister_farmer_id1232

2024-04-04 13:18:46Ask
MySQL
Add animation to the background-image property in the body tag: step-by-step guide

I am using background image in style tag. <style>body{background-image:url("img.jpg");background-size:cover;transition:background-image4slinear;}</style>I want the image to fade in without adding a separate div to the page. Can this goal be achieved?

2024-03-29 21:59:19Ask
CSS3
Cron job not working properly when specified time

I have a Laravel project v8 and I have created a cron job for database backup it works every minute but when I specify the time of day it doesn't work. The project time zone is "Asia/Kolkata" and my GoDaddy shared server time zone is UTC. Kernel.php<?phpnamespaceApp\Console;useIlluminate\Console\Scheduling\Schedule;useIlluminate\Found

2024-03-28 15:24:27Ask
PHP
Solve mysql CREATE TABLE syntax questions

I try to create a table in mysql using the following command: CREATETABLEkeys(idINT(10),keyVARCHAR(100)); but it always gives me an error similar to this: Error 1064 (42000): There is an error in your SQL syntax; Check the manual corresponding to your MySQL server version for the correct syntax to use near "keys(idINT(10),keyVARCHAR(100))" on line 1`

2023-09-12 15:19:08Ask
MySQL
Programmatically display filenames in file input: Implemented using Angular

Good evening, I'm developing an application using Angular15 and one of the functions is to populate a table with team member data. To add a member, a button needs to be clicked, which then displays a modal window to fill in the data and add some files. Editing operations are the same. I've successfully saved the data and uploaded the file to the server folder, but when editing I've encountered a problem: in the file input box, the uploaded file name does not show up, and it looks like no file has been uploaded, although in fact it has uploaded. I store the name of the document in a member property and make

2023-09-10 14:51:49Ask
HTML
How to display 2 different containers side by side in React?

I want to put order panel and order menu side by side, they are two different components (containers). In my CSS I tried display:inline-block and flex-direction:row. I've tried flex on the parent component (Order) but it reduces the width of both components. This is such a simple thing but I can't do it. Can someone guide me to find the error? importReactfrom"react";importContainerfrom

2023-09-05 23:17:45Ask
CSS3