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?
template arrays
Started by romer, Aug 30 2009 10:35 PM
5 replies to this topic
#1
Posted 30 August 2009 - 10:35 PM
#3
Posted 31 August 2009 - 03:45 PM
is that what u use to make {sitetitle}.i know how to make that but not how to use it to get database queries
#4
Posted 31 August 2009 - 08:53 PM
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.pixel2lif...showtopic=29903
If you are building your own, then i refer you to this topic: http://www.pixel2lif...showtopic=29903
#5
Posted 31 August 2009 - 11:12 PM
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
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
#6
Posted 31 August 2009 - 11:54 PM
thx very much
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
