Results 1 to 2 of 2

Thread: Help with creating a simple php script

  1. #1
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with creating a simple php script

    now I'm fairly new to the whole php stuff have been a xhtml/html person for years, also knowing sql/mysql for about 2-3yrs I have basic knowledge about this but I was curious, how I would go about creating a script for php that would example like myspace where you hit "edit" in the box you want to edit the text and it would take you to a page to edit the text in that selected area you wanted, then would automaticlly change when the user hits submit, I know its simple but I don't seem to know lol :P

    Any help with this would be greatly appericated

    edit* I suppose it'd be very similiar to a comments script expect the user gets to edit the text area to their liking, when they select "edit" for the website.
    Last edited by gourk; 05-31-2008 at 10:56 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Well, this is the same basic setup as a comment script. The only difference is that rather than adding a new bit of text to the page, it overwrites the old one (stored in a text file, or the database).

    You can look into a full CMS (content management system) as well.

    Since you're not asking a very specific question, that's about all I can say for now. If you search through some of the older threads around here, you'll find lots of examples for various situations, though, I think.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •