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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:55:52+00:00 2026-05-26T05:55:52+00:00

I am using PDO for php and. Parameters are binding right. However when I

  • 0

I am using PDO for php and. Parameters are binding right. However when I check my mysql-query.log on CentOS 5.6

I get the following

UPDATE 
  ^ M site_folder_pages ^ M 
SET
  ^ M ^ M title = 'Schanz, Hermann',
  ^ M `desc` = 'Telefonnummer, E-Mailadresse',
  ^ M declared_encoding = NULL,
  ^ M detected_encoding = NULL,
  ^ M word_count = '230',
  ^ M last_checked = NOW(),
  ^ M date_modified = NOW() ^ M 
WHERE ^ M url_hash = '0001843c8b7bb28b46323fd1e8a3efa5' ^ M 
  AND site_id = '52f2b2940f79c1f7d623b066b2bce2e5' 

Having this, I am not really sure if this query was executed right or the “^M” character was only added on the log file and not the actual query.

Doing a quick search in google I also find queries with the same characters:
Query with ^M

Is it just on the log? or is it really executed with that character hence there was an error during the execution?

  • 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-05-26T05:55:53+00:00Added an answer on May 26, 2026 at 5:55 am

    ^M is the on-screen representation of a carriage return in many UNIX terminals. What you’re probably looking at is a log file and/or query string containing Windows-style line endings (\r\n), but reading it in UNIX mode (\n) and thus the carriage returns (\r = ^M) are showing up.

    Since both \r and \n are whitespace characters, MySQL ignores them, so it won’t cause an actual problem.

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

Sidebar

Related Questions

Using PDO / PHP and MySQL, how can I check if a record was
I'm using PDO to insert a record (mysql and php) $stmt->bindParam(':field1', $field1, PDO::PARAM_STR); $stmt->bindParam(':field2',
I am familiar with using PHP to perform mySQL queries. However, I have been
i ave been having trouble with a simple select sql query. using php PDO.
I'm a bit obsessed now. I'm writing a PHP-MYSQL web application, using PDO, that
I'm using PHP PDO with PostgreSQL for a new project. Given the following function,
I wonder how can I get the list of MySQL databases in PHP using
I'm having issues with php-cgi.exe crashing while using php-pdo-mysql.dll. I'm using the data mapper
I am having a problem using PHP's PDO object to prepare an update statement
I would like to know what query is executed using PHP PDO. I have:

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.