I press a button which will follow this text block; It submits the page and does all that it needs to do including making the $_SESSION['gadd_record] variable = Yes. I have it echo displayed lower on the page to make sure that the variable is for sure “Yes” However my button does not seem to run the following script, as my heyyou value doesn’t change nor does my window location change. Help please All of the pieces are located on the same form inside the same TR even.
I’m not sure I understand this part at all; The URL in question points to a different page and that part works on another page I’m not super worried about the …
section however the entire if doesn’t run. I don’t have any debugging other than my own brain and eyeballs so error messages are few and far. However, using the inspect function of the browser and some timely print screens I did get an error that proves you right I believe.
"Uncaught ReferenceError : $_SESSION is not defined
at GetOnWithIt (add…
at HTMLInputElement.onclicke (add…
So my new question I guess is how I am to convert the PHP session variable into a variable that will handle the function. The session variable is set in a “require” include. I think I should just be able to set anything instead of that, if you have any ideas on how to do so. I am rank 1 bad at all of this so the simple confounds me.
In this case, the text file (as opposed to binary, not ext) goes from what is HTML to PHP without what the engine needs.
Anyway, I think a good first step would be to make a rough list of what needs to happen and where. eg.
a request for this file
do PHP stuff
typically send this back to the requester [client]
Personal preferences vary, but though 2 and 3 above are grossly inadequate the more easily you can tell the two apart the less likely you’ll get mixed up. Where you go from one to the other and how often most often depends on circumstance and choice.
But I get ahead of things. Please post a more detailed 2 and 3 (I usually start with “initial request” stuff first)