Results 1 to 5 of 5

Thread: sql query through javascript for dynamic pages

  1. #1
    Hugo Snellen
    Guest

    Default sql query through javascript for dynamic pages

    I need to generate information pages in NOF with data from a mysql base.
    As I want the data to correspond with hotspots on a map; I suspect that I
    will have to use javascript.
    1 what javascript will geanrate a query from a hotspot?
    2 how do I generate a dynamic page with the query result?
    TIA



  2. #2
    Chuck «BeyondFusion»
    Guest

    Default Re: sql query through javascript for dynamic pages

    Hugo,

    Javascript is a client language. It only executes in the browser.

    You need to use PHP or ASP or some other server side scripting language to
    query a database and display results.

    Do you intend you use hotspots for visitors to click on to determine what
    data to display somehow?

    Or do you want to display data on a map?

    --
    Chuck Joslin - Team NetObjects
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Fusion Wish List - www.beyondfusion.com/wish
    Register domain names at www.awavedomains.com

    "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    news:dsr1c4$itv4@news01.netobjects.com...
    >I need to generate information pages in NOF with data from a mysql base.
    > As I want the data to correspond with hotspots on a map; I suspect that I
    > will have to use javascript.
    > 1 what javascript will geanrate a query from a hotspot?
    > 2 how do I generate a dynamic page with the query result?
    > TIA
    >




  3. #3
    Hugo Snellen
    Guest

    Default Re: sql query through javascript for dynamic pages

    Thank you Chuck, I intend to show data as a result of the hotspot selection
    on a new page.. Do you have (another) suggestion?

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    message de news: dsr2dp$iuf2@news01.netobjects.com...
    > Hugo,
    >
    > Javascript is a client language. It only executes in the browser.
    >
    > You need to use PHP or ASP or some other server side scripting language to
    > query a database and display results.
    >
    > Do you intend you use hotspots for visitors to click on to determine what
    > data to display somehow?
    >
    > Or do you want to display data on a map?
    >
    > --
    > Chuck Joslin - Team NetObjects
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Fusion Wish List - www.beyondfusion.com/wish
    > Register domain names at www.awavedomains.com
    >
    > "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    > news:dsr1c4$itv4@news01.netobjects.com...
    >>I need to generate information pages in NOF with data from a mysql base.
    >> As I want the data to correspond with hotspots on a map; I suspect that I
    >> will have to use javascript.
    >> 1 what javascript will geanrate a query from a hotspot?
    >> 2 how do I generate a dynamic page with the query result?
    >> TIA
    >>

    >
    >




  4. #4
    Chuck «BeyondFusion»
    Guest

    Default Re: sql query through javascript for dynamic pages

    Hugo,

    No.....just what I said before.

    You could send one or more parameter(s) to the destination page using the
    GET method. As part of the url you point the hotspot to.

    A script on the destination page would run the query based on that/those
    parameters and display the results.

    Simple stuff using PHP.

    --
    Chuck Joslin - Team NetObjects
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Fusion Wish List - www.beyondfusion.com/wish
    Register domain names at www.awavedomains.com

    "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    news:dsr38e$itv5@news01.netobjects.com...
    > Thank you Chuck, I intend to show data as a result of the hotspot
    > selection on a new page.. Do you have (another) suggestion?
    >
    > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    > message de news: dsr2dp$iuf2@news01.netobjects.com...
    >> Hugo,
    >>
    >> Javascript is a client language. It only executes in the browser.
    >>
    >> You need to use PHP or ASP or some other server side scripting language
    >> to query a database and display results.
    >>
    >> Do you intend you use hotspots for visitors to click on to determine what
    >> data to display somehow?
    >>
    >> Or do you want to display data on a map?
    >>
    >> --
    >> Chuck Joslin - Team NetObjects
    >> BeyondFusion.com - Your Fusion Community
    >> www.beyondfusion.com
    >>
    >> Fusion Wish List - www.beyondfusion.com/wish
    >> Register domain names at www.awavedomains.com
    >>
    >> "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    >> news:dsr1c4$itv4@news01.netobjects.com...
    >>>I need to generate information pages in NOF with data from a mysql base.
    >>> As I want the data to correspond with hotspots on a map; I suspect that
    >>> I will have to use javascript.
    >>> 1 what javascript will geanrate a query from a hotspot?
    >>> 2 how do I generate a dynamic page with the query result?
    >>> TIA
    >>>

    >>
    >>

    >
    >




  5. #5
    Hugo Snellen
    Guest

    Default Re: sql query through javascript for dynamic pages

    I was thinking of including tho whole php script in the hotlink HTML a query
    and a poup displaying the data list.

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    message de news: dsr691$iuf6@news01.netobjects.com...
    > Hugo,
    >
    > No.....just what I said before.
    >
    > You could send one or more parameter(s) to the destination page using the
    > GET method. As part of the url you point the hotspot to.
    >
    > A script on the destination page would run the query based on that/those
    > parameters and display the results.
    >
    > Simple stuff using PHP.
    >
    > --
    > Chuck Joslin - Team NetObjects
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Fusion Wish List - www.beyondfusion.com/wish
    > Register domain names at www.awavedomains.com
    >
    > "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    > news:dsr38e$itv5@news01.netobjects.com...
    >> Thank you Chuck, I intend to show data as a result of the hotspot
    >> selection on a new page.. Do you have (another) suggestion?
    >>
    >> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    >> message de news: dsr2dp$iuf2@news01.netobjects.com...
    >>> Hugo,
    >>>
    >>> Javascript is a client language. It only executes in the browser.
    >>>
    >>> You need to use PHP or ASP or some other server side scripting language
    >>> to query a database and display results.
    >>>
    >>> Do you intend you use hotspots for visitors to click on to determine
    >>> what data to display somehow?
    >>>
    >>> Or do you want to display data on a map?
    >>>
    >>> --
    >>> Chuck Joslin - Team NetObjects
    >>> BeyondFusion.com - Your Fusion Community
    >>> www.beyondfusion.com
    >>>
    >>> Fusion Wish List - www.beyondfusion.com/wish
    >>> Register domain names at www.awavedomains.com
    >>>
    >>> "Hugo Snellen" <meatwork@aspara.fr> wrote in message
    >>> news:dsr1c4$itv4@news01.netobjects.com...
    >>>>I need to generate information pages in NOF with data from a mysql base.
    >>>> As I want the data to correspond with hotspots on a map; I suspect that
    >>>> I will have to use javascript.
    >>>> 1 what javascript will geanrate a query from a hotspot?
    >>>> 2 how do I generate a dynamic page with the query result?
    >>>> TIA
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




Posting Permissions

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