Announcement

Collapse
No announcement yet.

{variable} ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • {variable} ?

    I've seen this used a bunch, and it seems to be much easier than what I am doing.

    I'm working on a way to output content from a database for my Web site. I think it would be much easier if I could make a layout, and just use things such as {navigation} and {content}.

    But what exactly is {blah}, what is it called, where can I learn about it (expects a link to php.net, but I meant a good book).

    As well, what is a good book to read that moves on from the usual PHP stuff. I'm looking at learning OOP, but would like a good reference to books.

    Thanks for any help!

  • #2
    Are you sure you don't mean {$variable}?

    http://us2.php.net/manual/en/languag...arsing.complex

    Comment


    • #3
      http://smarty.php.net/

      Comment


      • #4
        Thanks for the links! What about a good OOP book for PHP?

        Comment


        • #5
          I downloaded a couple of e-books, but I can't recommend any of them really. You could have a look at php.net for the beginning.

          http://us2.php.net/manual/en/language.oop.php

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X