khr2003
0
Junior Poster in Training
Recommended Answers
Jump to PostYeah, possible. Have a hidden field in the form to store the id. When the user clicks submit, update the table :)
update table set orderno='".$_POST['orderno']."' where id='".$_POST['id']."'";
Jump to PostOkay.. This is a sloppy example, just to give you an idea.
<?php if(isset($_POST['submit'])) { print "<pre>"; print "Id array => <br />"; print_r($_POST['id']); print "Order no array => <br />"; print_r($_POST['orderno']); print "</pre>"; for($i=0;$i< count($_POST['orderno']); $i++) { //there will be equal number of elements in both …
All 5 Replies
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
khr2003
0
Junior Poster in Training
nav33n
472
Purple hazed!
Team Colleague
Featured Poster
khr2003
0
Junior Poster in Training
nav33n
472
Purple hazed!
Team Colleague
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.