stepping out with Smarty and IntSmarty

Well I started reminding myself how to use Smarty and PEAR’s DB today. Took awhile since I forgot that the server was changed since the last time I used it (path names were changed). Pulled out the old file I played with originally to get a small grasp of Smarty and DB (a login screen). Thank goodness I commented it well so I could easily remember what was going on. Took apart the template and redid it so it looks the way I want, and fine tuned the code and tada I have a working login screen for my project. See R&D time for a programmer is needed even when you can’t see a time in the near future.

Now I have to throw in the IntSmarty. First thing I did is install the class file in the same directory as the Smarty class file and include it. Am thinking about trying out John Coogeshall’s way with a MyIntSmarty class but I’m not very strong in OOP. I still haven’t decided, but that is for tomarrow.

del.icio.us:stepping out with Smarty and IntSmarty  digg:stepping out with Smarty and IntSmarty  furl:stepping out with Smarty and IntSmarty  reddit:stepping out with Smarty and IntSmarty

WordPress database error: [Table 'wp1_comments' is marked as crashed and last (automatic?) repair failed]
SELECT * FROM wp1_comments WHERE comment_post_ID = '40' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply