--- Jay Blanchard
<[EMAIL PROTECTED]> wrote:

> Without a lick of code or a pointer to the grid on
> the web we would be
> hard pressed to offer solutions or advice. Arrays
> maybe? Hidden form
> fields?
> 
Jay, fine - I thought I could spare you the code but
address what the problem might be.

In the grid, I am posting via $_POST the PrimaryID
via:
<input name="JID" type="hidden" id="JID" value="<?php
echo $rsVJ->Fields('JID'); ?>">


Then in the update form: 

if (isset($_POST['JID'])) {
  $PJID = $_POST['JID'];

$query .= sprintf("SELECT * FROM vj_prm WHERE JID =
$PJID

I hope this is a better story ;)

Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to