Re: [PHP] smarty and db

2004-08-03 Thread John Holmes
Amanda Hemmerich wrote: ANyway, I need to change the code so that, when there are no row returned by the database, a message is displayed saying, "There are no events scheduled." or what have you. [snip] (in the PHP page) $events = $db->getAll($sql_events, DB_FETCHMODE_ASSOC); $tpl->assign("events"

Re: [PHP] smarty and db

2004-08-03 Thread Justin Patrin
On Tue, 3 Aug 2004 14:21:45 -0500 (EST), Amanda Hemmerich <[EMAIL PROTECTED]> wrote: > Ok, I am starting a new job and learning a new person's code, and trying > to learn Smarty at the same time. > > This question is so basic, but I have no idea where to look for an answer. > > ANyway, I need to

Re: [PHP] smarty and db

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 15:21, Amanda Hemmerich offered up the following tid-bit of information : > Ok, I am starting a new job and learning a new person's code, and trying > to learn Smarty at the same time. > > This question is so basic, but I have no idea where to look for an > answer. > > AN