Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Links into php script doesn't work

  1. #1
    Olivier Daumas
    Guest

    Default Links into php script doesn't work

    Hello,

    My problem :
    I wrote dynamic link below into a php script. It works well into a "normal"
    html page,
    but it doesn't work when I insert it into the HTML code (end of body) of the
    Layout properties.
    The page seems good and the links appear, but it's not possible to click on
    the links.

    "
    echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    cellspacing="1"
    cellpadding="1" border="1">';

    while ($result = mysql_fetch_object($resultat))
    {
    echo "<tr>"
    . "<td><a href='www.e-morvan/index.php?id=". $result->NumArt ."'>".
    $result->NumArt ."</a></td>"
    . "<td> $result->NomArt </td>"
    . "</tr>\n";
    }

    echo "</table>\n";
    "

    Can some body help me ?
    Thank you.



  2. #2
    Fock
    Guest

    Default Re: Links into php script doesn't work

    You need to begin all the html orders with echo" " and end with ;
    See if it helps
    Pierre Fock
    "Olivier Daumas" <od.dev@morvandelle.com> a écrit dans le message de news:
    ft7hod$k8i1@flsun90netnews01.netobjects.com...
    > Hello,
    >
    > My problem :
    > I wrote dynamic link below into a php script. It works well into a
    > "normal" html page,
    > but it doesn't work when I insert it into the HTML code (end of body) of
    > the Layout properties.
    > The page seems good and the links appear, but it's not possible to click
    > on the links.
    >
    > "
    > echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    > cellspacing="1"
    > cellpadding="1" border="1">';
    >
    > while ($result = mysql_fetch_object($resultat))
    > {
    > echo "<tr>"
    > . "<td><a href='www.e-morvan/index.php?id=". $result->NumArt ."'>".
    > $result->NumArt ."</a></td>"
    > . "<td> $result->NomArt </td>"
    > . "</tr>\n";
    > }
    >
    > echo "</table>\n";
    > "
    >
    > Can some body help me ?
    > Thank you.
    >




  3. #3
    Olivier Daumas
    Guest

    Default Re: Links into php script doesn't work

    That's what I do... ?!


    "Fock" <fock@club-internet.fr> a écrit dans le message de news:
    ft7kpj$k8i2@flsun90netnews01.netobjects.com...
    > You need to begin all the html orders with echo" " and end with ;
    > See if it helps
    > Pierre Fock
    > "Olivier Daumas" <od.dev@morvandelle.com> a écrit dans le message de news:
    > ft7hod$k8i1@flsun90netnews01.netobjects.com...
    >> Hello,
    >>
    >> My problem :
    >> I wrote dynamic link below into a php script. It works well into a
    >> "normal" html page,
    >> but it doesn't work when I insert it into the HTML code (end of body) of
    >> the Layout properties.
    >> The page seems good and the links appear, but it's not possible to click
    >> on the links.
    >>
    >> "
    >> echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    >> cellspacing="1"
    >> cellpadding="1" border="1">';
    >>
    >> while ($result = mysql_fetch_object($resultat))
    >> {
    >> echo "<tr>"
    >> . "<td><a href='www.e-morvan/index.php?id=". $result->NumArt ."'>".
    >> $result->NumArt ."</a></td>"
    >> . "<td> $result->NomArt </td>"
    >> . "</tr>\n";
    >> }
    >>
    >> echo "</table>\n";
    >> "
    >>
    >> Can some body help me ?
    >> Thank you.
    >>

    >
    >




  4. #4
    Olivier Daumas
    Guest

    Default Re: Links into php script doesn't work

    In my code there are no html or php suntax error.
    It works properly into an html file, but not in NOF.


    "Fock" <fock@club-internet.fr> a écrit dans le message de news:
    ft7kpj$k8i2@flsun90netnews01.netobjects.com...
    > You need to begin all the html orders with echo" " and end with ;
    > See if it helps
    > Pierre Fock
    > "Olivier Daumas" <od.dev@morvandelle.com> a écrit dans le message de news:
    > ft7hod$k8i1@flsun90netnews01.netobjects.com...
    >> Hello,
    >>
    >> My problem :
    >> I wrote dynamic link below into a php script. It works well into a
    >> "normal" html page,
    >> but it doesn't work when I insert it into the HTML code (end of body) of
    >> the Layout properties.
    >> The page seems good and the links appear, but it's not possible to click
    >> on the links.
    >>
    >> "
    >> echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    >> cellspacing="1"
    >> cellpadding="1" border="1">';
    >>
    >> while ($result = mysql_fetch_object($resultat))
    >> {
    >> echo "<tr>"
    >> . "<td><a href='www.e-morvan/index.php?id=". $result->NumArt ."'>".
    >> $result->NumArt ."</a></td>"
    >> . "<td> $result->NomArt </td>"
    >> . "</tr>\n";
    >> }
    >>
    >> echo "</table>\n";
    >> "
    >>
    >> Can some body help me ?
    >> Thank you.
    >>

    >
    >




  5. #5
    Charles Edmonds
    Guest

    Default Re: Links into php script doesn't work

    On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:

    > In my code there are no html or php suntax error.
    > It works properly into an html file, but not in NOF.


    Oliver,

    A few things to look for:

    1) Be sure that your page extension (in NOF) is set to .php (that is
    required for the php command to execute)

    2) A local preview will not execute the command

    3) A local publish will execute it - IF you have WAMP or one of the desktop
    PHP environments running. However even there you usually have to access it
    with http://127.0.0.1 or http://localhost

    4) If your publishing to the web and it is still not working, be sure that
    your hosting center supports and allows PHP. Most do, but some still do
    not.

    Good luck!


    Charles


    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds
    cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email me)
    www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms!"
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

  6. #6
    Olivier Daumas
    Guest

    Default Re: Links into php script doesn't work

    Thank you for your help :

    1) Be sure that your page extension (in NOF) is set to .php (that is
    required for the php command to execute)

    2) A local preview will not execute the command

    3) A local publish will execute it - IF you have WAMP or one of the desktop
    PHP environments running. However even there you usually have to access it
    with http://127.0.0.1 or http://localhost

    4) If your publishing to the web and it is still not working, be sure that
    your hosting center supports and allows PHP. Most do, but some still do
    not.

    -----------------------------------------

    1) Of course it is.

    2) and 3) I published "Entire site" on remote server.

    4) of course it does. The links work properly in a standard page.

    -----------------------------------------

    Please, you can have a look at
    http://www.e-morvan.com/html/produits.php for NOF version

    and at
    http://www.e-morvan.com/html/coucou.php for not NOF version

    Thanks.

    "Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> a écrit dans le message
    de news: 14cdzz5yil0s8$.ybv5e4tk36y3$.dlg@40tude.net...
    > On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:
    >
    >> In my code there are no html or php suntax error.
    >> It works properly into an html file, but not in NOF.

    >
    > Oliver,
    >
    > A few things to look for:
    >
    > 1) Be sure that your page extension (in NOF) is set to .php (that is
    > required for the php command to execute)
    >
    > 2) A local preview will not execute the command
    >
    > 3) A local publish will execute it - IF you have WAMP or one of the
    > desktop
    > PHP environments running. However even there you usually have to access
    > it
    > with http://127.0.0.1 or http://localhost
    >
    > 4) If your publishing to the web and it is still not working, be sure that
    > your hosting center supports and allows PHP. Most do, but some still do
    > not.
    >
    > Good luck!
    >
    >
    > Charles
    >
    >
    > --
    > -------------------------------------------------------------------------------------------------------
    > Charles Edmonds
    > cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email me)
    > www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    > www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
    > www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    > and Forms!"
    > www.lansrad.com - "Intelligent Solutions for Universal Problems"
    > www.fotokiss.com - "World's Best Auction Photo Editor"
    > -------------------------------------------------------------------------------------------------------



  7. #7
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: Links into php script doesn't work

    It's probably a combination of using fixed layout (not good.... try dynamic
    instead) and placing the code just before the end of body tag.

    For positioning, you should place a text box on the page where you want the
    table with links to appear and use Ctrl+T to insert the html code.

    Right now, you have the code outside the div that makes up the content of
    the body.

    That's probably breaking the link in a browser.

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

    Register domain names at www.awavedomains.com

    "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    news:ft82gk$ls41@flsun90netnews01.netobjects.com.. .
    > Thank you for your help :
    >
    > 1) Be sure that your page extension (in NOF) is set to .php (that is
    > required for the php command to execute)
    >
    > 2) A local preview will not execute the command
    >
    > 3) A local publish will execute it - IF you have WAMP or one of the
    > desktop
    > PHP environments running. However even there you usually have to access
    > it
    > with http://127.0.0.1 or http://localhost
    >
    > 4) If your publishing to the web and it is still not working, be sure that
    > your hosting center supports and allows PHP. Most do, but some still do
    > not.
    >
    > -----------------------------------------
    >
    > 1) Of course it is.
    >
    > 2) and 3) I published "Entire site" on remote server.
    >
    > 4) of course it does. The links work properly in a standard page.
    >
    > -----------------------------------------
    >
    > Please, you can have a look at
    > http://www.e-morvan.com/html/produits.php for NOF version
    >
    > and at
    > http://www.e-morvan.com/html/coucou.php for not NOF version
    >
    > Thanks.
    >
    > "Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> a écrit dans le
    > message de news: 14cdzz5yil0s8$.ybv5e4tk36y3$.dlg@40tude.net...
    >> On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:
    >>
    >>> In my code there are no html or php suntax error.
    >>> It works properly into an html file, but not in NOF.

    >>
    >> Oliver,
    >>
    >> A few things to look for:
    >>
    >> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >> required for the php command to execute)
    >>
    >> 2) A local preview will not execute the command
    >>
    >> 3) A local publish will execute it - IF you have WAMP or one of the
    >> desktop
    >> PHP environments running. However even there you usually have to access
    >> it
    >> with http://127.0.0.1 or http://localhost
    >>
    >> 4) If your publishing to the web and it is still not working, be sure
    >> that
    >> your hosting center supports and allows PHP. Most do, but some still do
    >> not.
    >>
    >> Good luck!
    >>
    >>
    >> Charles
    >>
    >>
    >> --
    >> -------------------------------------------------------------------------------------------------------
    >> Charles Edmonds
    >> cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email
    >> me)
    >> www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    >> www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
    >> www.ezround.com - "Round Corner HTML tables with matching Banners,
    >> Buttons
    >> and Forms!"
    >> www.lansrad.com - "Intelligent Solutions for Universal Problems"
    >> www.fotokiss.com - "World's Best Auction Photo Editor"
    >> -------------------------------------------------------------------------------------------------------

    >



  8. #8
    Olivier Daumas
    Guest

    Default Re: Links into php script doesn't work

    " It's probably a combination of using fixed layout (not good.... try
    dynamic
    instead) and placing the code just before the end of body tag. "

    Current site options -> Site generation is already on "Dynamic Page Layout -
    All browsers",
    and the code is placed just before the end of body tag.

    Please have a look on the page code below :

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> Title of Page will be generated by NetObjects Fusion. </TITLE>
    <!-- NetObjects Fusion Generated HEAD HTML-->
    </HEAD>
    <BODY NetObjects Fusion Generated BODY Parameters >
    <!-- NetObjects Fusion Generated BODY -->
    <?php
    require_once("Connect.php");

    $requete = "SELECT * FROM TabArt ";

    $connexion = mysql_pconnect("sql1.easy-hebergement.net", "emorvan",
    "rlmdx4gs");
    mysql_select_db(emorvan, $connexion);

    $resultat = mysql_query($requete, $connexion);

    echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    cellspacing="1"
    cellpadding="1" border="1">';

    while ($result = mysql_fetch_object($resultat))
    {
    echo "<tr>"
    . "<td><a href='www.e-morvan/index.php?id=".
    $result->NumArt ."'>". $result->NumArt ."</a></td>"
    . "<td> $result->NomArt </td>"
    . "</tr>\n";
    }
    echo "</table>\n";
    ?>
    </BODY>
    </HTML>

    Than you.

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    message de news: ft843k$ldm3@flsun90netnews01.netobjects.com...
    > It's probably a combination of using fixed layout (not good.... try
    > dynamic instead) and placing the code just before the end of body tag.
    >
    > For positioning, you should place a text box on the page where you want
    > the table with links to appear and use Ctrl+T to insert the html code.
    >
    > Right now, you have the code outside the div that makes up the content of
    > the body.
    >
    > That's probably breaking the link in a browser.
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    > news:ft82gk$ls41@flsun90netnews01.netobjects.com.. .
    >> Thank you for your help :
    >>
    >> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >> required for the php command to execute)
    >>
    >> 2) A local preview will not execute the command
    >>
    >> 3) A local publish will execute it - IF you have WAMP or one of the
    >> desktop
    >> PHP environments running. However even there you usually have to access
    >> it
    >> with http://127.0.0.1 or http://localhost
    >>
    >> 4) If your publishing to the web and it is still not working, be sure
    >> that
    >> your hosting center supports and allows PHP. Most do, but some still do
    >> not.
    >>
    >> -----------------------------------------
    >>
    >> 1) Of course it is.
    >>
    >> 2) and 3) I published "Entire site" on remote server.
    >>
    >> 4) of course it does. The links work properly in a standard page.
    >>
    >> -----------------------------------------
    >>
    >> Please, you can have a look at
    >> http://www.e-morvan.com/html/produits.php for NOF version
    >>
    >> and at
    >> http://www.e-morvan.com/html/coucou.php for not NOF version
    >>
    >> Thanks.
    >>
    >> "Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> a écrit dans le
    >> message de news: 14cdzz5yil0s8$.ybv5e4tk36y3$.dlg@40tude.net...
    >>> On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:
    >>>
    >>>> In my code there are no html or php suntax error.
    >>>> It works properly into an html file, but not in NOF.
    >>>
    >>> Oliver,
    >>>
    >>> A few things to look for:
    >>>
    >>> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >>> required for the php command to execute)
    >>>
    >>> 2) A local preview will not execute the command
    >>>
    >>> 3) A local publish will execute it - IF you have WAMP or one of the
    >>> desktop
    >>> PHP environments running. However even there you usually have to access
    >>> it
    >>> with http://127.0.0.1 or http://localhost
    >>>
    >>> 4) If your publishing to the web and it is still not working, be sure
    >>> that
    >>> your hosting center supports and allows PHP. Most do, but some still do
    >>> not.
    >>>
    >>> Good luck!
    >>>
    >>>
    >>> Charles
    >>>
    >>>
    >>> --
    >>> -------------------------------------------------------------------------------------------------------
    >>> Charles Edmonds
    >>> cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email
    >>> me)
    >>> www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    >>> www.clarionproseries.com - "Serious imaging tools for Clarion
    >>> Developers"
    >>> www.ezround.com - "Round Corner HTML tables with matching Banners,
    >>> Buttons
    >>> and Forms!"
    >>> www.lansrad.com - "Intelligent Solutions for Universal Problems"
    >>> www.fotokiss.com - "World's Best Auction Photo Editor"
    >>> -------------------------------------------------------------------------------------------------------

    >>

    >




  9. #9
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: Links into php script doesn't work

    Doesn't look anything like the way I would do it.

    Are you pasting code into HTML Source View?

    Take a look at my PHP/MySQL tutorials. You'll find a link to them on the
    BeyondFusion resources page.

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

    Register domain names at www.awavedomains.com

    "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    news:ft878r$ldm4@flsun90netnews01.netobjects.com.. .
    >" It's probably a combination of using fixed layout (not good.... try
    >dynamic
    > instead) and placing the code just before the end of body tag. "
    >
    > Current site options -> Site generation is already on "Dynamic Page
    > Layout - All browsers",
    > and the code is placed just before the end of body tag.
    >
    > Please have a look on the page code below :
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    > <HTML>
    > <HEAD>
    > <TITLE> Title of Page will be generated by NetObjects Fusion. </TITLE>
    > <!-- NetObjects Fusion Generated HEAD HTML-->
    > </HEAD>
    > <BODY NetObjects Fusion Generated BODY Parameters >
    > <!-- NetObjects Fusion Generated BODY -->
    > <?php
    > require_once("Connect.php");
    >
    > $requete = "SELECT * FROM TabArt ";
    >
    > $connexion = mysql_pconnect("sql1.easy-hebergement.net", "emorvan",
    > "rlmdx4gs");
    > mysql_select_db(emorvan, $connexion);
    >
    > $resultat = mysql_query($requete, $connexion);
    >
    > echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    > cellspacing="1"
    > cellpadding="1" border="1">';
    >
    > while ($result = mysql_fetch_object($resultat))
    > {
    > echo "<tr>"
    > . "<td><a href='www.e-morvan/index.php?id=".
    > $result->NumArt ."'>". $result->NumArt ."</a></td>"
    > . "<td> $result->NomArt </td>"
    > . "</tr>\n";
    > }
    > echo "</table>\n";
    > ?>
    > </BODY>
    > </HTML>
    >
    > Than you.
    >
    > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    > message de news: ft843k$ldm3@flsun90netnews01.netobjects.com...
    >> It's probably a combination of using fixed layout (not good.... try
    >> dynamic instead) and placing the code just before the end of body tag.
    >>
    >> For positioning, you should place a text box on the page where you want
    >> the table with links to appear and use Ctrl+T to insert the html code.
    >>
    >> Right now, you have the code outside the div that makes up the content of
    >> the body.
    >>
    >> That's probably breaking the link in a browser.
    >>
    >> --
    >> Chuck Joslin
    >> BeyondFusion.com - Your Fusion Community
    >> www.beyondfusion.com
    >>
    >> Register domain names at www.awavedomains.com
    >>
    >> "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    >> news:ft82gk$ls41@flsun90netnews01.netobjects.com.. .
    >>> Thank you for your help :
    >>>
    >>> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >>> required for the php command to execute)
    >>>
    >>> 2) A local preview will not execute the command
    >>>
    >>> 3) A local publish will execute it - IF you have WAMP or one of the
    >>> desktop
    >>> PHP environments running. However even there you usually have to access
    >>> it
    >>> with http://127.0.0.1 or http://localhost
    >>>
    >>> 4) If your publishing to the web and it is still not working, be sure
    >>> that
    >>> your hosting center supports and allows PHP. Most do, but some still do
    >>> not.
    >>>
    >>> -----------------------------------------
    >>>
    >>> 1) Of course it is.
    >>>
    >>> 2) and 3) I published "Entire site" on remote server.
    >>>
    >>> 4) of course it does. The links work properly in a standard page.
    >>>
    >>> -----------------------------------------
    >>>
    >>> Please, you can have a look at
    >>> http://www.e-morvan.com/html/produits.php for NOF version
    >>>
    >>> and at
    >>> http://www.e-morvan.com/html/coucou.php for not NOF version
    >>>
    >>> Thanks.
    >>>
    >>> "Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> a écrit dans le
    >>> message de news: 14cdzz5yil0s8$.ybv5e4tk36y3$.dlg@40tude.net...
    >>>> On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:
    >>>>
    >>>>> In my code there are no html or php suntax error.
    >>>>> It works properly into an html file, but not in NOF.
    >>>>
    >>>> Oliver,
    >>>>
    >>>> A few things to look for:
    >>>>
    >>>> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >>>> required for the php command to execute)
    >>>>
    >>>> 2) A local preview will not execute the command
    >>>>
    >>>> 3) A local publish will execute it - IF you have WAMP or one of the
    >>>> desktop
    >>>> PHP environments running. However even there you usually have to
    >>>> access it
    >>>> with http://127.0.0.1 or http://localhost
    >>>>
    >>>> 4) If your publishing to the web and it is still not working, be sure
    >>>> that
    >>>> your hosting center supports and allows PHP. Most do, but some still
    >>>> do
    >>>> not.
    >>>>
    >>>> Good luck!
    >>>>
    >>>>
    >>>> Charles
    >>>>
    >>>>
    >>>> --
    >>>> -------------------------------------------------------------------------------------------------------
    >>>> Charles Edmonds
    >>>> cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email
    >>>> me)
    >>>> www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    >>>> www.clarionproseries.com - "Serious imaging tools for Clarion
    >>>> Developers"
    >>>> www.ezround.com - "Round Corner HTML tables with matching Banners,
    >>>> Buttons
    >>>> and Forms!"
    >>>> www.lansrad.com - "Intelligent Solutions for Universal Problems"
    >>>> www.fotokiss.com - "World's Best Auction Photo Editor"
    >>>> -------------------------------------------------------------------------------------------------------
    >>>

    >>

    >
    >



  10. #10
    Fock
    Guest

    Default Re: Links into php script doesn't work

    You could try that code :

    <?
    echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    cellspacing="1" cellpadding="1" border="1">';
    echo "<tr>";
    echo "<td><a href='www.fock.fr?id='xxxxxx'>"."yyyyyy"."</a></td>";
    echo "<td> 'nom' </td>" ;
    echo "</tr>\n";


    echo "</table>\n";

    ?>

    This code has to be inserted in a Php file
    Hope it helps
    Pierre Fock

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    message de news: ft89l6$ls44@flsun90netnews01.netobjects.com...
    > Doesn't look anything like the way I would do it.
    >
    > Are you pasting code into HTML Source View?
    >
    > Take a look at my PHP/MySQL tutorials. You'll find a link to them on the
    > BeyondFusion resources page.
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    > news:ft878r$ldm4@flsun90netnews01.netobjects.com.. .
    >>" It's probably a combination of using fixed layout (not good.... try
    >>dynamic
    >> instead) and placing the code just before the end of body tag. "
    >>
    >> Current site options -> Site generation is already on "Dynamic Page
    >> Layout - All browsers",
    >> and the code is placed just before the end of body tag.
    >>
    >> Please have a look on the page code below :
    >>
    >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    >> <HTML>
    >> <HEAD>
    >> <TITLE> Title of Page will be generated by NetObjects Fusion. </TITLE>
    >> <!-- NetObjects Fusion Generated HEAD HTML-->
    >> </HEAD>
    >> <BODY NetObjects Fusion Generated BODY Parameters >
    >> <!-- NetObjects Fusion Generated BODY -->
    >> <?php
    >> require_once("Connect.php");
    >>
    >> $requete = "SELECT * FROM TabArt ";
    >>
    >> $connexion = mysql_pconnect("sql1.easy-hebergement.net", "emorvan",
    >> "rlmdx4gs");
    >> mysql_select_db(emorvan, $connexion);
    >>
    >> $resultat = mysql_query($requete, $connexion);
    >>
    >> echo '<table style="LEFT: 200px; POSITION: absolute; TOP: 200px"
    >> cellspacing="1"
    >> cellpadding="1" border="1">';
    >>
    >> while ($result = mysql_fetch_object($resultat))
    >> {
    >> echo "<tr>"
    >> . "<td><a href='www.e-morvan/index.php?id=".
    >> $result->NumArt ."'>". $result->NumArt ."</a></td>"
    >> . "<td> $result->NomArt </td>"
    >> . "</tr>\n";
    >> }
    >> echo "</table>\n";
    >> ?>
    >> </BODY>
    >> </HTML>
    >>
    >> Than you.
    >>
    >> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> a écrit dans le
    >> message de news: ft843k$ldm3@flsun90netnews01.netobjects.com...
    >>> It's probably a combination of using fixed layout (not good.... try
    >>> dynamic instead) and placing the code just before the end of body tag.
    >>>
    >>> For positioning, you should place a text box on the page where you want
    >>> the table with links to appear and use Ctrl+T to insert the html code.
    >>>
    >>> Right now, you have the code outside the div that makes up the content
    >>> of the body.
    >>>
    >>> That's probably breaking the link in a browser.
    >>>
    >>> --
    >>> Chuck Joslin
    >>> BeyondFusion.com - Your Fusion Community
    >>> www.beyondfusion.com
    >>>
    >>> Register domain names at www.awavedomains.com
    >>>
    >>> "Olivier Daumas" <od.dev@morvandelle.com> wrote in message
    >>> news:ft82gk$ls41@flsun90netnews01.netobjects.com.. .
    >>>> Thank you for your help :
    >>>>
    >>>> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >>>> required for the php command to execute)
    >>>>
    >>>> 2) A local preview will not execute the command
    >>>>
    >>>> 3) A local publish will execute it - IF you have WAMP or one of the
    >>>> desktop
    >>>> PHP environments running. However even there you usually have to
    >>>> access it
    >>>> with http://127.0.0.1 or http://localhost
    >>>>
    >>>> 4) If your publishing to the web and it is still not working, be sure
    >>>> that
    >>>> your hosting center supports and allows PHP. Most do, but some still
    >>>> do
    >>>> not.
    >>>>
    >>>> -----------------------------------------
    >>>>
    >>>> 1) Of course it is.
    >>>>
    >>>> 2) and 3) I published "Entire site" on remote server.
    >>>>
    >>>> 4) of course it does. The links work properly in a standard page.
    >>>>
    >>>> -----------------------------------------
    >>>>
    >>>> Please, you can have a look at
    >>>> http://www.e-morvan.com/html/produits.php for NOF version
    >>>>
    >>>> and at
    >>>> http://www.e-morvan.com/html/coucou.php for not NOF version
    >>>>
    >>>> Thanks.
    >>>>
    >>>> "Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> a écrit dans le
    >>>> message de news: 14cdzz5yil0s8$.ybv5e4tk36y3$.dlg@40tude.net...
    >>>>> On Sat, 5 Apr 2008 13:05:10 +0200, Olivier Daumas wrote:
    >>>>>
    >>>>>> In my code there are no html or php suntax error.
    >>>>>> It works properly into an html file, but not in NOF.
    >>>>>
    >>>>> Oliver,
    >>>>>
    >>>>> A few things to look for:
    >>>>>
    >>>>> 1) Be sure that your page extension (in NOF) is set to .php (that is
    >>>>> required for the php command to execute)
    >>>>>
    >>>>> 2) A local preview will not execute the command
    >>>>>
    >>>>> 3) A local publish will execute it - IF you have WAMP or one of the
    >>>>> desktop
    >>>>> PHP environments running. However even there you usually have to
    >>>>> access it
    >>>>> with http://127.0.0.1 or http://localhost
    >>>>>
    >>>>> 4) If your publishing to the web and it is still not working, be sure
    >>>>> that
    >>>>> your hosting center supports and allows PHP. Most do, but some still
    >>>>> do
    >>>>> not.
    >>>>>
    >>>>> Good luck!
    >>>>>
    >>>>>
    >>>>> Charles
    >>>>>
    >>>>>
    >>>>> --
    >>>>> -------------------------------------------------------------------------------------------------------
    >>>>> Charles Edmonds
    >>>>> cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email
    >>>>> me)
    >>>>> www.pagesnip.com - "Print and Save the Web, just the way you want it!"
    >>>>> www.clarionproseries.com - "Serious imaging tools for Clarion
    >>>>> Developers"
    >>>>> www.ezround.com - "Round Corner HTML tables with matching Banners,
    >>>>> Buttons
    >>>>> and Forms!"
    >>>>> www.lansrad.com - "Intelligent Solutions for Universal Problems"
    >>>>> www.fotokiss.com - "World's Best Auction Photo Editor"
    >>>>> -------------------------------------------------------------------------------------------------------
    >>>>
    >>>

    >>
    >>

    >




Posting Permissions

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