Help - Search - Members - Calendar
Full Version: template arrays
Pixel2Life Forum > Help Section > PHP, ASP, MySQL, JavaScript and other Web/Database Programming Help
romer
Can anyone give me a tutorial on how to use arrays.i know how u use them to display text but how do i use them to display mysql data?
romer
is that what u use to make {sitetitle}.i know how to make that but not how to use it to get database queries
rc69
Oh, i must have misunderstood the question. Are you using a Template class such as Smarty? If so, it would help to know which you are using.

If you are building your own, then i refer you to this topic: http://www.pixel2life.com/forums/index.php?showtopic=29903
derek.sullivan
rc69, you were on the right track.

what you need to do is match the array with what variables are being replaced, i'm still trying to figure it out to. but just read more on php.net
romer
thx very much
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.