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

  • SEARCH
  • Home
  • 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 8972531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:14:19+00:00 2026-06-15T18:14:19+00:00

I have a good knowledge of php and mysql, however I have less practices.

  • 0

I have a good knowledge of php and mysql, however I have less practices. Before I have built websites with searches, ajax type of suggestions, etc. However they all lacked some competence.

Now I am going to create a search for my website, which has about 10 tables with different field names. I spent some time figuring out what way to call mysql queries. So I seek for some advice and help.

In case if I select some data that are like some string that was given then I have to create an order of tables, where to search first, which table should be second, so on. That is main reason why I ask this question. Is not it a bad approach to manually run multiple mysql search queries on different tables and try to handle data taken into an array that would be equal to the structure of arrays formed by other tables searches? I mean why should I search for news first, if there is more similarity in article page?

Later I went to an idea of having a single mysql query that fits all the tables, however I could not figure out how to come up with such code that will return an array for the layout and include everything about desired search query.

Please tell me any advanced techniques or practices that you think might help me out. Thanks.

  • 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-15T18:14:21+00:00Added an answer on June 15, 2026 at 6:14 pm

    Searching through many tables is not a good idea. Much better to have an index. Index can be a single structured databes table or external engine like sphinx or lucene.

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

Sidebar

Related Questions

i'm new to drupal, but i have a good knowledge about php, and html/css.
I'm learning JSP and have a good working knowledge of PHP and MVC frameworks.
I have a good knowledge of PHP. But I also want to learn technologies
Is it possible to develop android games and application if we have good knowledge
I have successfully installed Oracle 11g R2 version. I don't have good knowledge about
I am fairly new to C. (I have good knowledge of C# [Visual Studio]
Can I have good example or code about how to use Ajax Datepicker in
I have been working with PHP for years and gotten a very good grasp
I have a website built in PHP 4 with a framework made by hand
im very new to this and have a very basic knowledge php and SQL

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.