Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8279857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:27:52+00:00 2026-06-08T09:27:52+00:00

How can I make a chat with PHP and MySQL only, without any other

  • 0

How can I make a chat with PHP and MySQL only, without any other language? I googled for a while, but all the solutions I found needed PHP+MySQL+AJAX/JS/jQuery. In order to keep my code as simple as possible, I’d like to only use those two languages (because idk ajax not js not jquery, LOL.). Any suggestion? I thought about making temporary records where to record the chats, but it would be way too slow, since it would require many queries. Any solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T09:27:54+00:00Added an answer on June 8, 2026 at 9:27 am

    I think any solution would be too slow in this case.

    See, the core nature of chat is real-time (or close to) updating: you’d want to see the message written by someone as fast as possible (if not, it’s a forum territory, not chat). There are several methods of dealing with this problem, but they all involve JavaScript (as you need to update the page shown to your users).

    Of course, you might make your page auto-refreshing (with meta http-equiv="refresh"), but it would drastically increase the load on your server – and it will still behave like a forum, just on the ‘refresh steroids’. )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have put up some code to make an ajax, php, mysql chat in
I can make a single row IKImageBrowserView by setting the [imageBrowser setContentResizingMask:NSViewWidthSizable]; but in
I want to make a chat system using javascript.I dont want any existing application.I
i am trying to make php ajax one to one chat.............my problem is that
I want to make it so that in my chat-application, links to websites can
I have made a chat box like thing in PHP. The only problem is
I've been learnging php/mysql for a short while and I got some basic stuff
Ok i am tryin to make a Chatting application where users can chat with
I am trying to make a web chat to integrate with other languages. I
I want to make it that one user on the site can chat request

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.