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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:15:43+00:00 2026-05-26T08:15:43+00:00

I am executing the follwing statements in php,mysql. The database isn’t gettig updated. I

  • 0

I am executing the follwing statements in php,mysql. The database isn’t gettig updated. I dont get any exception or any error notice. The query runs fine but database values are not updated.

 $stmt=$dbh->prepare("update stops set lat = ?, lon = ?, issuffolk = ? where id = ?");
 $stmt->execute(array($latitude,$longitude,$issuffolk,$stopId));

could anyone let me know what the problem is.

  • 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-26T08:15:43+00:00Added an answer on May 26, 2026 at 8:15 am

    Maybe you are in a transaction(via PDO::beginTransaction() somewhere?), so add $dbh->commit(); after you executed the prepared statement and check the result.

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

Sidebar

Related Questions

I get an exception while executing following piece of code bool FieldValueMessage::Get(const std::string &field,
while executing the following query, i get an error that there's an error in
When executing batch queries via JDBC to pgbouncer, I get the following error: org.postgresql.util.PSQLException:
The following exception is thrown: Error Message: Microsoft.SqlServer.Management.Smo.FailedOperationException: Drop failed for Database '4d982a46-58cb-4ddb-8999-28bd5bb900c7'. --->
I am getting the following error when I am executing the following statement INSERT
I'm calling a class that does not seem to be executing any of its
I'm trying to use preg_match to find php code statements in template files so
For database connection from PHP to MSSQL, I had create the following code. Can
When executing the following using a smalldatetime constraint on the returned results, I get
Why is Django executing statements such as this: SELECT (1) AS [a] FROM [my_table]

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.