+ Post New Thread
Results 1 to 2 of 2
Web Development Thread, PHP/SQL/JS Mashup in Coding and Web Development; Hi all, I'm in the process of putting together a web app which is pulling some class group info out ...
  1. #1
    Scruff's Avatar
    Join Date
    May 2007
    Thank Post
    Thanked 3 Times in 3 Posts
    Rep Power

    PHP/SQL/JS Mashup

    Hi all,

    I'm in the process of putting together a web app which is pulling some class group info out of the CMIS db, using AD authentication I am currently able to build a list of the logged in users' assigned class groups, I want to be able to filter those class groups to a selected date's pertinent groups based on the input from a JavaScript calendar, but obviously the data is already pre-processed by the time any JavaScript interaction has begun on the client side, clearly it's not going to be the most dynamic of solutions but I would wish for the posting of the calendar value to not have to redirect to a completely different page.

    So my question is, does anyone have any bright ideas for how this could be achieved in the most seamless way possible.

    All i'm looking to do is modify a list menu's values from js that is made from data acquired from php

    If any of that makes sense

    Cheers Guys

  2. #2

    CESIL's Avatar
    Join Date
    Nov 2006
    Thank Post
    Thanked 267 Times in 198 Posts
    Rep Power
    If your PHP writes the js array then you can do the filtering with javascript (jQuery probably) and the page can be dynamically updated without needing to reload it...

    the map() function is able to filter values into a new array that would be the values for your list...

  3. Thanks to CESIL from:

    Scruff (12th January 2012)

+ Post New Thread

Similar Threads

  1. [Hosting] Free hosting with PHP, SQL etc?
    By LosOjos in forum Web Development
    Replies: 11
    Last Post: 30th November 2011, 12:07 PM
  2. MRBS php/sql editing
    By dirtydog in forum Coding
    Replies: 2
    Last Post: 8th March 2010, 05:09 PM
  3. Replies: 5
    Last Post: 22nd August 2009, 06:11 PM
  4. setting up php/sql for a forum on 2008 x64
    By sted in forum Windows Server 2008
    Replies: 0
    Last Post: 1st July 2009, 08:25 AM
  5. php and sql ?
    By mac_shinobi in forum Web Development
    Replies: 15
    Last Post: 21st October 2008, 09:43 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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