Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Contract - Retrieval Issue
01-03-2018, 03:16 AM (This post was last modified: 01-03-2018 03:42 PM by TurboPT.)
Post: #11
RE: Contract - Retrieval Issue
(01-02-2018 07:26 PM)falkoner Wrote:  Moving the conditional statement to the top section as Paul suggests, but then altering it to be:

if (isset($_GET['Quotations'])){
$_POST['Quotations']=$_GET['Quotations'];
}

Thank you both for checking!

Though I can get the situation mentioned previously, I do have that suggested code snippet moved to the top, but with a slight modification:
PHP Code:
if ( isset($_GET['Quotations']) ) {
    
$_POST['Quotations'] = $_GET['Quotations'];
}
else {
    
$_POST['Quotations'] = '';


The else portion will help to reduce conditional checks (later down in the code) to remove:
PHP Code:
isset($_POST['Quotations']) 
Some conditions checked for this, but some others did not, so this will help facilitate some minor code reduction too.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Contract - Retrieval Issue - VortecCPI - 12-20-2017, 12:12 PM
RE: Contract - Retrieval Issue - TurboPT - 12-21-2017, 04:25 AM
RE: Contract - Retrieval Issue - VortecCPI - 12-21-2017, 06:42 AM
RE: Contract - Retrieval Issue - TurboPT - 12-21-2017, 06:47 AM
RE: Contract - Retrieval Issue - VortecCPI - 12-21-2017, 07:16 AM
RE: Contract - Retrieval Issue - TurboPT - 12-21-2017, 07:31 AM
RE: Contract - Retrieval Issue - TurboPT - 12-23-2017, 04:20 AM
RE: Contract - Retrieval Issue - TurboPT - 12-28-2017, 03:09 PM
RE: Contract - Retrieval Issue - falkoner - 01-02-2018, 07:26 PM
RE: Contract - Retrieval Issue - VortecCPI - 01-03-2018, 12:17 AM
RE: Contract - Retrieval Issue - TurboPT - 01-03-2018 03:16 AM
RE: Contract - Retrieval Issue - falkoner - 01-03-2018, 03:28 AM
RE: Contract - Retrieval Issue - TurboPT - 01-03-2018, 05:26 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-03-2018, 11:11 PM
RE: Contract - Retrieval Issue - TurboPT - 01-04-2018, 01:38 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-04-2018, 03:15 AM
RE: Contract - Retrieval Issue - TurboPT - 01-04-2018, 05:15 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-04-2018, 05:44 AM
RE: Contract - Retrieval Issue - falkoner - 01-04-2018, 05:58 AM
RE: Contract - Retrieval Issue - TurboPT - 01-04-2018, 06:03 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-04-2018, 06:05 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-06-2018, 06:41 AM
RE: Contract - Retrieval Issue - TurboPT - 01-06-2018, 06:48 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-06-2018, 07:08 AM
RE: Contract - Retrieval Issue - TurboPT - 01-06-2018, 07:55 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-06-2018, 10:57 PM
RE: Contract - Retrieval Issue - falkoner - 01-06-2018, 11:49 PM
RE: Contract - Retrieval Issue - TurboPT - 01-07-2018, 12:33 AM
RE: Contract - Retrieval Issue - falkoner - 01-07-2018, 12:42 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-07-2018, 01:25 AM
RE: Contract - Retrieval Issue - TurboPT - 01-07-2018, 01:46 AM
RE: Contract - Retrieval Issue - falkoner - 01-07-2018, 02:03 AM
RE: Contract - Retrieval Issue - TurboPT - 01-07-2018, 02:13 AM
RE: Contract - Retrieval Issue - VortecCPI - 01-07-2018, 04:24 AM
RE: Contract - Retrieval Issue - falkoner - 01-07-2018, 05:00 AM
RE: Contract - Retrieval Issue - TurboPT - 01-07-2018, 12:28 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)