in reply to Re^2: How to retain a value passed from another link to a script
in thread How to retain a value passed from another link to a script
When you fix that this will fail (not enough bind variables)my $orderid = $q->param('orderid'); <input type="hidden" name="ordid" value="$hr->{'OrderID'}"/>
pojmy $sql = qq! UPDATE "Order_Details" SET "UnitPrice" = ?, "Quantity" = ?, "Discount" = ? WHERE "OrderID" = ? !; my $count = $dbh->do( $sql,undef,$orderid );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to retain a value passed from another link to a script
by terrykhatri (Acolyte) on Jul 11, 2014 at 19:44 UTC | |
by poj (Abbot) on Jul 11, 2014 at 19:48 UTC | |
|
Re^4: How to retain a value passed from another link to a script
by terrykhatri (Acolyte) on Jul 11, 2014 at 20:10 UTC | |
by poj (Abbot) on Jul 11, 2014 at 20:25 UTC | |
|
Re^4: How to retain a value passed from another link to a script
by terrykhatri (Acolyte) on Jul 11, 2014 at 20:31 UTC | |
by Laurent_R (Canon) on Jul 11, 2014 at 21:21 UTC | |
|
Re^4: How to retain a value passed from another link to a script
by terrykhatri (Acolyte) on Jul 11, 2014 at 20:20 UTC | |
by marto (Cardinal) on Jul 11, 2014 at 20:21 UTC |