Re: smarty, php, and mysql

From: Date: Sun, 14 Apr 2002 02:21:14 +0000
Subject: Re: smarty, php, and mysql
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3688@lists.php.net to get a copy of this message
"Blue Presley" <blue928@carolina.rr.com> schrieb im Newsbeitrag news:000a01c1e358$bfd418e0$d8fc1b18@happy... [.....] >> Instead of giving my code I'll just ask how you do it. >> If there is someone out getting to work, please provide >> me with the following: No code, no possibility to help. >> 1. a sample, fully working, php script pulling a few rows >> from a mysql database and assinging to a variable that >> smarty will recognize. >> 2. a .TPL file (just the template code here, of course) that >> creates an html <selection> box using the array elements >> from the .php script. Would you also like me to do grafix and layout for your site? :-| >> I'm sure if I had a working example from which to work, >> this would not be this frustrating. >> Thanks in advance for your help. Just take a look at the "index.php" of your smarty-package. Open eyes are usefull tools while seaching for anything. ;-D If you can't figure out, what's the problem with your template use the debugging-mode to check your assigned array or check the array from within your php-script by PRINT_R($YOUR_ARRAY). Norbert

« previous php.smarty.general (#3688) next »