Solved! Here is the winning code:
PHP Code:
echo "<br /><br />Your final quota of hands for this session was {$numbers[$_SESSION['limit']]}. This would have been hand number {$numbers[min(($_SESSION['bigCounter']+1),count($numbers)-1)]}. For that reason, we must deny at the moment your efforts for a new hand. We deny this new hand with respect and with love. BUT do not dispair: You can begin a <i>new</i> session when our webmistress returns from {$excuses[(rand(0, count($excuses)-1))]}. She should be coming back in a while. When she does, it will make her so happy if you are here. We hope you will not disappoint her. She will cheerfully review your starting quota of poker hands and, if necessary, adjust it.<br /><br />So hang out or, if necessary, come back later. Or feel free to refresh your <i>quotation</i>, above. You can do that while waiting!";
The problem arose from the fact that when I used the script interpolation method, it became necessary to put braces around ALL of the interpolated variables.
Coothead, I appreciate the attention to this problem that you provided.
BTW, the page on which this statement appears (in case anyone is interested) is https://www.marainlaw.com/page.php?here=quotations.
A.
Bookmarks