SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Threaded View

  1. #1
    SitePoint Enthusiast XploreR's Avatar
    Join Date
    May 2001
    Location
    Singapore
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello again,

    i just got onto this PHPLib stuff and manage to get a simple template to work fine. I have a script or should i say file that prints data out from the database. I would like to include the results (the data) in a particular area on the template i made. How do i go about doing it? I read an article and belive the Blocks will enable me to do this. (Someone please correct me if i'm wrong)


    Here's My Template File

    <html>
    <head>
    <title>{title}</title>
    </head>

    <body>
    <center>
    {NAME}
    </CENTER><p>
    <!-- BEGIN AccessBlock -->
    <center>
    <table width="500">
    {DATA}
    </table>
    </center>
    <!-- END AccessBlock -->
    <center>
    {COPYRIGHT}
    </CENTER>
    </body>
    </html>


    The area i want my php script to show in the template is {DATA}. I did try messing around and was able to get the script to show the data on the template but it wasn't shown in the {DATA} part but at the top of the page. Can someone please help? Thanks
    Last edited by XploreR; May 13, 2001 at 06:56.


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
  •