coltranerolled
With that code inserted at the location you suggested there was no difference in the display:
>>>>>
<?php if ($totalRows_WADAContents > 0) { // Show if recordset not empty ?>
<h1>Details: <?php echo($row_WADAContents['ContentRefID']); ?> - <?php echo($row_WADAContents['ContentGroup']); ?><br/>The id for this record is: <?php echo $_SESSION['WADA_Insert_Contents'] ?></h1>
<h2>Below are the details for this page</h2>
<<<<<
Although it occurs to me that it wouldn't be going through that code necessarily, but rather through other code. So I tried inserting the same code where there "No record found" error message is displayed:
>>>>>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAContents == 0) { // Show if recordset empty ?>
<h1>No record found.<br/>The id for this record is: <?php echo $_SESSION['WADA_Insert_Contents'] ?></h1>
<<<<<
but it failed due to an undefined index:
>>>>>
The id for this record is:
Notice: Undefined index: WADA_Insert_Contents
<<<<<