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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:59:10+00:00 2026-05-22T19:59:10+00:00

i know this would be probably too much to ask for . i am

  • 0

i know this would be probably too much to ask for . i am sorry. and i would really appreciate if someone can guide me in the right direction.
i have made the sales invoice posting form.
the fields are:-
customer id, segment id, date of invoice, invoice no(streamed from mysql max value), items,uom’s prices,quantities.

since the no of items is variable. as in the no of rows changes so i have made it dynamic as per user’s requirement.
i am able to display this data on the next page.
now when i have say 5 itemcodes, their prices and quantities, i want to compare all of these with their corresponding mysql values. for ex. for quantities, i would like to compare the quantities avl in mysql and only then proceed with posting, same is the case with prices. i want to compare the prices with the selling prices listed for those particular items.

i also need help with how to post these arrays to the mysql and then check what all has been posted correctly.

i would greatly appreciate any information,ideas,links, etc. where i can learn or may be if someone can post up a sample code or something.
thanks again.keep smiling 🙂

  • 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-22T19:59:11+00:00Added an answer on May 22, 2026 at 7:59 pm

    From what I understand, you are trying to INSERT invoice data after validating from MySQL. A generic answer would:

    • Receive the data at the server.
    • Do the logical validation.
    • Use SELECT to get respective values from the database
    • Compare those values with the received one
    • Execute an INSERT query if successful.

    There are many ways to solve your problem of posting arrays in MySQL, in certain cases, I send client side arrays as CSV strings and use something like PHP-explode(“,” $str) and then insert individual values, however it will differ based on your data-formatting and table design.

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

Sidebar

Related Questions

OK I would like to know this once and for all, how can I
I realize this would violate convention, but I'm curious to know if you can
I know this would be easy with position:fixed, but unfortanately I'm stuck with supporting
First, I know about this: How would you organize a Subversion repository for in
I would like to know this to understand why some games like Mario is
Would this work on all platforms? i know windows does \r\n, and remember hearing
Whether this is possible I don't know, but it would mighty useful! I have
Given this algorithm, I would like to know if there exists an iterative version.
The people on this website seem to know everything so I figured I would
This request is based in MS Access VBA. I would like to know what

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.