This is for my web site where I’m trying to create a program that sends form input to a page where I can edit its contents if need be then send that to another page (HTML) that I choose to send it to.
I’ve got the admin thing set and ready, and I can get it to go to the page I want it to, but part of the “send to another page I choose” thing is editing the contents of the page (removing </body> and the like tags) before I write to it.
First I thought:
“Ok, I’ll put the page into an array, then search/replace the item in the array I want gone.”
Then I find that you can’t search/replace in an array. (Or so my book tells me, if I can, please tell me how)
So I try to figure out how to convert an array to a normal string variable. But I can’t. This is where you come in.
How do I switch an array to a normal string variable?
If there’s a better way to do what I want done, I’d also like to know that.
Thank you very much.