Results 1 to 5 of 5

Thread: general questions

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    10

    general questions

    right bit of a open question but i want to make sure im not heading in the wrong direction...

    im in the middle of wrighting a database backed site manager...

    1 thing i need to do of which im unsure of which way to go about it (not how to code it) is an aritcles sections, ive got it written at the moment so its all in one file and recalls the title and html contect of the article from the database...

    dont really know the best way to generate next and previous pages, wether to use different rows in the database and a kind of id system or a other way...

    the other thing is a template system,

    im not asking / wouldnt waste peoples time by asking for code but maybe an insight to the most profesional and efficient way to write these 2 items, should i parse the php and call the html or is there a better way ? should i use classe's

    in the article section, whats the best way to incklude the contect and effient way to recall it,

    i apolgise for this being such an open question and im not wanting anyone to write it for me more of give any useful advice of similar ways people have accomplished these 2 things..

    thanks for any 'pointing in the right direction'

    sk

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Punctuation is key.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Lively Member technitaes's Avatar
    Join Date
    Oct 2002
    Location
    Tennessee, USA
    Posts
    112
    There's a pretty good tutorial on a template based system for PHP that can be found on Developer Fusion.com at
    http://www.developerfusion.com/show/1658/

    Hope it helps
    tecnithV -- artisan, artificer, workman, mechanic, architect, or builder
    VB6, ASP, HTML, XML, Oracle, Access, MySql, PHP, C++, Etc...
    To format your VB code in this forum use tags like this [vbcode]your code here[/vbcode]

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    10
    Punctuation is key.
    probably, my reply being "^ spam"

    technitaes

    thanks for the link it did help. After searching around and looking at different ways of using templates i managed to put some code together. As for the splitting of pages, i managed to finish that script aswell

  5. #5
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by sk8o
    probably, my reply being "^ spam"
    The ability to make sense is also key.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width