Honestly I am not sure what is confusing about my post, but oh well. And yes that did answer my one question. And yes I do realize that php is server side and javascript is client side.
Let me explain a bit further.
Right now I want to add in dynamic text fields for one thing. I have a javascript which does this, not a problem. What I have been doing with php is doing something like
if($post)
{
blah blah do stuff when the user clicks the submit button
}
else
{
display the page here (either by doing a ?> and then html or everything inside already)
}
I just want to be sure I can do the same with the js inbeded. I dont want to have in my http headers up top stuff like name=&name= , etc etc. I dont want to pass variables in the header like that, i want them actually stored in normal php variables as such, and then when the button to submit things are done, a loop occurs where it posts the stuff entered into each field and any of the created dynamic fields, and for each one will make a new field in a table in a mysql db (which I can do no problem). I want to be sure I will be able to loop over each entered thing, and input everything as needed.
Thats really my question more or less.
also, anyone know why after altering a table, and then doing a mysql_close() and then going, and in the same page after that opening a new mysql connection and inserting data, etc, that it would give me an error (and its prolly not exact) returned values not equal to what was just gotten or something along that line? Kinda weird. I think i can do away with it by inserting the static data first and then the new fields but I thought I had tried that and ended up with the same error but who knows 😛