I am new to PHP, and I have this website. I want to know if i can have a page that is password protected (i know how to do that part), where the user can edit a variable from a text area.
Example: if i had a $news variable, and it would equal the news text on the home page. Is there a way that...
Hello, I have created a simple login system. I have created a table, as follows:
CREATE TABLE `members` (
`id` int(4) NOT NULL auto_increment,
`username` varchar(65) NOT NULL default ''...
Thanks, but I do not mean on a server. I mean just on their desktop, they would have their page. Could I make JS that could change the text, locally, and then they can upload or ftp to their server?
Thanks,
Kevin
Is there a way to write some JS that will have a box that edits the text in a div. Basically so that I can make an Easy Edit page for people that I have made sites for?
Ex: There is a DIV on the homepage that consists of store hours. You go to your edit page and use a text area to change the...
I have a div on my homepage and I have several images (lets say 5) that I would like to go there. I would like to know how to put one image there and in 8 seconds it changes to the next and then the next etc. then start over. Can anybody help me?
Oh and more importantly, how can i have more than one replacement set that the user can edit?
Lets say... 10?
like they can put in their own, up to ten times?
Thanks.
And how do I make them NOT case sensitive?
Edit:
Thanks All! Real cool!
Oh and more importantly, how can i have more than one replacement set that the user can edit? Lets say... 10? like they can put in their own, up to ten times? Thanks. And how do I make them NOT case sensitive.
wow! Thanks! The first one is fantastic.
One last thing if you could.
How do I make the words that they can enter NOT case sensitive. In the first script i know about the /i, but in the newer one you wrote, how would I do this. Again, Thanks!
thank you. Can I have an E-mail for any later questions?
Edit:
Is there any way, also, to allow the user to have several input boxes that they can write which words are changed to which. Ex: I could write in one box "Dog" and "Cat" in the next. So people can change their words?
Thnx again.
Ok so I am trying to make a textbox that you can write a sentence, and then hit a button. Then the text in the textbox will change certain words to certain other words.
Ex: You write "Hello my name is John Smith." and hit the button. Then the text is changed to "Hi my name was John Smith."...