how to make php make extra pages and edit info

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webandwe
    New Member
    • Oct 2006
    • 142

    how to make php make extra pages and edit info

    Hi

    I just need some code tips or ideas.

    I need to build a part of DB which has details of certain food providers at shelters.

    Here is what I need to build extra

    Once you click a link on one of the 500 shelters, it must open like a auto generate php page with each day of the week, but here is where it gets difficult for me. Now the owner of the DB must be able to insert/delete/edit text on each day of the week.

    I know how to insert/delete, etc. But how must I go about so the auto generated page can like automatically insert, delete information in the MySQL DB once the owner has given the command?

    What I figure is, I’ll make like a form panl where you can write your message and then select where you want to insert/delete/edit the data in what day of the week. Which can be used by all the pages, but now I want some ideas on how you guy might do it and my main concern; how to hook it up to work separately with each page.

    Kind Regards
    Webandwe
  • TheMadMidget
    New Member
    • Oct 2006
    • 98

    #2
    Are you basically trying to do a calendar?

    Comment

    • cassbiz
      New Member
      • Oct 2006
      • 202

      #3
      As a note, you can download a GNU PHP file for conference schedulers. You can make the necessary changes to use it in your food banks. This way you will have most of the functionality right away.

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Have a look at an Ajax solution for a week planner that can also update the database. See section DHTML Planner at http://www.dhtmlgoodie s.com/index.html?page =ajax
        Originally posted by Ajax samples
        This is a nice DHTML week planner. It used Ajax to get events/appointments from the server. This script makes it easy for you to move, resize and edit events without having to reload the page. The changes you make are instantly sent to a server so that they could be saved in your database(mySQL, Oracle etc.).
        Ronald :cool:

        Comment

        • webandwe
          New Member
          • Oct 2006
          • 142

          #5
          Hi

          Yes, i think if i take like a calender or weekend planer it will work great, all i have to do then it make it work with the shelters back that i am sure i'll figure out.

          Kind Regards
          Webandwe

          Comment

          • PlexusMaldon
            New Member
            • Nov 2006
            • 8

            #6
            Originally posted by webandwe
            Hi

            Yes, i think if i take like a calender or weekend planer it will work great, all i have to do then it make it work with the shelters back that i am sure i'll figure out.

            Kind Regards
            Webandwe
            Firstly, I'm not connected to the publisher and this is not a shilling post - I found a good book called "Build your own AJAX web applications" by Sitepoint when I was getting into heavy-duty AJAX a few months ago. It's got some neat examples to create edit-in-place text divs (so you dbl-click the appropriate entry/area and it changes to an edit form) that you could set to only be enabled (via the server-side scripting) if the user was the admin. That might do what you want. The author is pretty helpful too - I mailed him with a couple of questions and he responded quite quickly. It depends on how much of a programmer you are and how much you want to get into AJAX, though, as the book probably is (IMHO) more for those who have a fair amount of general programming knowledge and want to get into AJAX

            Comment

            Working...