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 8472291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:01:27+00:00 2026-06-10T17:01:27+00:00

I have two .php files, a form with a text field where you put

  • 0

I have two .php files, a form with a text field where you put the names you want to search in the database, and a results file that processes the post…

The names in the database will be searched using this query:

SELECT * FROM acw_papers_web web 
INNER JOIN acw_papers_web_autores aut 
ON web.id_paper_web = aut.id_paper_web 
WHERE aut.nombre_autor_pw LIKE '%autorname%' 
ORDER BY web.probabilidad DESC 

The problem is that when I send the post, insted of sending lópez, it sends lópez…

How can I fix it… both .php files are utf-8 encoded…

  • 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-10T17:01:28+00:00Added an answer on June 10, 2026 at 5:01 pm

    Since you did not provide much information, I cannot exactly pinpoint the problem. But here are two possible solutions:

    1. Set the correct charset in the <head> of both files:

      <meta charset="UTF-8" /> for HTML5 or <meta http-eqiv="Content-Type" content="text/html; charset=UTF-8" /> for everything else

    2. Set the character set of the database tables to UTF-8. In MySQL:

      ALTER TABLE acw_papers_web CHARACTER SET utf8 COLLATE utf8_general_ci;
      ALTER TABLE acw_papers_web_autores CHARACTER SET utf8 COLLATE utf8_general_ci;

    That’s all I could think of, for now.

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

Sidebar

Related Questions

I have two files. location.php, that outputs this: [[javascript],[PHP]] and in another file: <script
I have two files client.php and server.php. The client file send a HTTP request
I have a simple PHP script with a form that has two select fields,
I have created two simple files in php. first file (i.e. input.php ): Created
On one PHP server I have two files. One file (the name is first.php)
I have a form that allows the user to either upload a text file
I have two php files: main.class.php form.class.php in these files there are two class
I have two files say file1.php and file2.php. I have one php file named
I have two PHP files: 1) simplearraypost.php (containing the form) 2) echoarraypost.php (the validation
i have two files trying to use ajax here is code of test.php file

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.