Code Comments
Programming Forum and web based access to our favorite programming groups.--- John Nichel <john@kegworks.com> wrote: > However, the $smarty->assign ( "foo", "bar" ); inside of > that first if statement does not do anything (it does echo out 'yes', > so I know the if statement is being executed). Hi. Your example should be working for you (particularly since you are getting confirmation that you are entering the if structure via the "yes" echo.) You can verify that the vars are being set by placing the following at the bottom of the code block: print_r( $smarty->get_template_vars() ); In other words, whatever problems you are experiencing, I doubt that it is caused by that assign statement. xo boots
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.