$query = "select pagetitle,content from ".$table." where published=1 and parent=".$parent." limit 1";
Thanks, however the queries run fine - double quotes interpolate. Even it if didn’t it would just fail without output, wouldn’t kill my $_POST.
you never want to use the name of a resource field as a variable name ($content).
Thanks Bob but this snippet is not the problem. I did rename all my vars though thinking it might be an issue, and since this post, the whole child idea has been eliminated. I’ve moved it to a TV. It’s helpful to remember I deleted the snippet call at the first sign of trouble and it had no effect . . . $_POST vars gone with a 302 Temporarily Moved header.
Which worked. for a while. Then out of nowhere . . . .post variables gone again. If I keep clearing the site cache sometimes it comes back, sometimes it doesn’t.
Scenario: I’m updating the scriptlet, modifying the styling, etc., refresh, posts, refresh, posts, then again . . . no post data and goes back to first state. I swap out templates, clear cache, starts working again
without any code changes. Weirdest thing I’ve ever seen.
$query = "select pagetitle,content from ".$table." where published=1 and parent=".$parent." limit 1";