Community
Articles Topics Q&A
Learn
Course Programming Dictionary
Tools Library
Development tools Website Source Code PHP Libraries JS special effects Website Materials Extension plug-ins
Leisure
Game Download Game Tutorials
search
English
简体中文 English 繁体中文 日本語 한국어 Melayu Français Deutsch
Login
singup

  • Popular searches:
  • PHP
  • MySQL
  • jquery
  • HTML
  • CSS
  • Whole station
  • Course
  • Article
  • Q&A
  • Download
Found a total of 10000 related content
  • Ways to fix issue 2003 (HY000): Unable to connect to MySQL server 'db_mysql:3306' (111)

    I recently tried to containerize my FastAPIPython server (also for replication/doubling purposes). Before, I had just a MySQL server in a Docker container and everything was fine, but when I also made my web server a service, it couldn't connect to the MySQL server, so now the application doesn't wo...

    P粉178132828 2023-09-05 11:18:47 0  1  815

  • Experiment with sorting after query limit

    So this is my first question here, please forgive me if something is wrong. I'm trying to make a sort query based on constraints. So there is a Customers table with 90 records. I want to first perform a query limited to 3 records, and then sort the results of this query by a column called ContactNam...

    P粉237125700 2023-09-05 14:46:42 0  1  719

  • CSS Grid: Create new row when child content overflows column width

    I have a two column layout based on CSS grid. When the content of the second column exceeds 1fr I want to create a new row. As it currently stands, the content simply overflows the column. One requirement of this layout is that the items in the right menu column are in one row. I achieve this with: ...

    P粉212114661 2023-09-05 15:18:28 0  1  610

  • PHP full text search functionality using AND, OR and NOT operators

    Newbie question: I'm trying to implement a full text search on a search string using php and eloquent. $searchstring="+(victimsuspect)+crime-covid";$searchresult=RssItem::whereRaw("MATCH(description)AGAINST('$searchstring'INBOOLEANMODE)")->ge

    P粉076987386 2023-09-05 15:06:32 0  1  571

  • Shortest way to convert all PHP types to string

    I'm writing a general system that I hope can one day be applied to fields like medicine (i.e. it's "scientific"). I think the best way is to represent all the data in php with strings (true will be "true", false will be "false" and so on). The reason for this is that in...

    P粉369196603 2023-09-05 15:34:44 0  1  1000

  • How to get average of DATETIME column in MySQL while grouping by other columns

    I'm creating and populating a MySQL table using the following query: SETtime_zone='+00:00';CREATETABLEtimestamp_n_datetime(idINT,timeDATETIME,avg_timeDATETIME);INSERTINTOtimestamp_n_datetime(id,time,avg_time)VALUES("1","2023-01-0310:

    P粉460377540 2023-09-05 11:46:21 0  1  504

  • Multi-device (mobile phone) synchronization - React Native

    I'm trying to create a Lightshow that will launch on all users' mobile devices at the same time (can have up to 2000-3000 users). All users will use the Internet (Wi-Fi or mobile data). In our FE we use Apollo for subscriptions and it works like a charm. But the problem is, user A can get subscribed...

    P粉151466081 2023-09-05 11:58:38 0  1  697

  • Spades, Diamonds, Hearts, Clubs => styles do not change font color in Chrome for Android

    In Google Chrome on Windows, the card suit symbols (spades, hearts, diamonds, clubs) are colored correctly using the "style" attribute. Unfortunately, the same page displayed in Google Chrome on Android does not display the colors I defined but uses the default black and red. (See the atta...

    P粉896751037 2023-09-05 15:25:13 0  1  753

  • How to hide mui TextField label?

    I'm developing a Nextjs app and I have a dashboard navigation bar built with mui that contains a notification that opens the notification box, which is built with regular HTML and CSS. dashboard-navbar.js: importNotificationBoxfrom"./notification-box/notification-box";//...exportconstDashb...

    P粉239164234 2023-09-05 15:41:00 0  1  678

  • Custom Bootstrap 5 carousel on mobile (multiple items, but not in one row)

    I'm having trouble trying to customize the carousel layout on mobile devices. I want it to show every item of the carousel on mobile instead of just one, but after trying with some CSS and JS, especially using displayfloat or max-witdh I'm just starting to think this isn't possible, Or I don't know ...

    P粉763662390 2023-09-05 11:53:56 0  1  594

  • How to use Firebase Authentication with multiple login methods and role-based authentication?

    I am creating a react.js application with nodejs as backend and I want to use these authentication methods to login using email/password, login using google and login using phone, now I want to keep the uniqueness of the user while signing the user's name for Any of these, I will also get other deta...

    P粉574695215 2023-09-05 12:18:10 0  1  657

  • If the table does not exist, insert into the table

    I have an application where the user can add serial numbers (units) to a circuit. I'm trying to modify an insert query for two tables to check if a cell ID already exists. If it doesn't exist, I want to insert it, but if it does exist, I don't want to insert a new record. I have searched and tried t...

    P粉546138344 2023-09-05 15:53:43 0  1  663

  • "Laravel joins two tables and calculates the sum of the columns of the given related table"

    I have two tanulky star and video and relationship in model //in Star model publicfunctionvideos(){return$this->belongsToMany(Video::class);} and //in Video model publicfunctionuser(){return$ this->belongsTo(User::class);}If I execute $stars=Star::with('vi

    P粉617597173 2023-09-05 16:22:37 0  1  553

  • How to send HTML content to another HTML page

    I want to fill out a form on one html page and then send the filled form to another html page for checking and saving. I just don't know how to send data from one html to another. I'm asking for your help. Thank youquestion.htmlThis is the form{%extends'dependencies.html'%}{%blockcontent%}<divcla...

    P粉596191963 2023-09-05 12:05:48 0  1  617

  • How do PHP and MySQL handle concurrent requests?

    I must be missing something about how PHP/Symfony handles concurrent requests, or perhaps how potentially concurrent queries on the database are handled... This code seems to be doing the impossible - it does it randomly (about once a month ) creates a copy of the new entity at the bottom. My conclu...

    P粉037215587 2023-09-05 12:17:19 0  1  593

Public welfare online PHP training,Help PHP learners grow quickly!

About us Disclaimer Sitemap

© php.cn All rights reserved