Jump to content

repeat region insert forms


Prellyan

Recommended Posts

Hey there,

 

i have a page which displays the selected information as a recordID=1

 

On that page is a repeat region of linked data with an update form

 

On the update however only the URL recordID is parsed not the selected variable from the repeat region

 

1. is it even possible to have nested update froms

2. Is it the insert script itself that over writes the select record ID

 

that is either

 

$editFormAction = $_SERVER['PHP_SELF'];

if (isset($_SERVER['QUERY_STRING'])) {

$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);

}

 

or

 

$updateGoTo = "../adminloggedin.php";

if (isset($_SERVER['QUERY_STRING'])) {

$updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";

$updateGoTo .= $_SERVER['QUERY_STRING'];

}

header(sprintf("Location: %s", $updateGoTo));

}

 

can the URL variable be cleared on the update of the record

 

Any help is appreciated

 

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/162201-repeat-region-insert-forms/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.