I need to read the span value and insert into database in php
<span class="GrandTotal">0.00</span>
gangachana
0
Newbie Poster
Recommended Answers
Jump to PostDo you want to do this via ajax/javascript or via a traditional form posting?
Jump to PostI aksed you an either or question.
Eg do you want tea of coffee?
You answered yes - do you see how that causes me a problem?
Jump to PostOk and is the span content being changed somehow after the page is loaded?
Jump to PostGood point about security DA. Even normal forms can be spoofed and depending on the use case, the arithmetic should be done on the server, not taken from a form. Using JS to give the user feedback is fine though. All input must be treated as suspect. As added security, …
All 14 Replies
DaveAmour
160
Mmmmmm beer
Featured Poster
gangachana
0
Newbie Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
gangachana
0
Newbie Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
gangachana
0
Newbie Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
gangachana
0
Newbie Poster
phoenix254
0
Junior Poster
phoenix254
0
Junior Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
diafol
mattster
195
Practically a Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.