![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
/me needs help ;)
When i put $boohoo[name] in the displayartists template it only calls the name of one artist and not all ![]() Btw name is a field in the table artists ![]() Any ideas? Regards - miSt
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
||||
|
#2
|
||||
|
||||
|
Mist hope this helps...
you need the create a template "displayartistsbit" and put in there the info you want to repeat... then the "displayartists" template is the main template... in which you put the "$theartists" to echo the loop that you created... hope that helps Mist... regards, g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
Last edited by g-force2k2 : 28 Mar 2003 at 21:01. |
||||
|
#3
|
||||
|
||||
|
Ahhh thanks g-force...
I understand the concept now ![]() Good to see you back btw ![]() - miSt
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
|
#4
|
||||
|
||||
|
Btw g-force that was the right idea but it didn't work. I had to add braces
![]()
Regards - miSt
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
||||
|
#5
|
|||
|
|||
|
As you always should for multiple-line blocks to prevent problems that look fine but that are only the illusion of indenting.
No members have liked this post.
|
|
#6
|
||||||||
|
||||||||
|
hmm... you sure Mist?
because to my knowledge you don't need to add brackets for one line codes... unless you altered the code in anyway ( adding more info inside the while for instance ) because the example:
is the same as:
just if you don't have brackets it will only read one line to my knowledge if you added more code thats probably why you got an error... regards, g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
||||||||
|
#7
|
|||
|
|||
|
It's extremely bad style to do that first example because it can very easily lead to screwups when editing the code.
No members have liked this post.
|
|
#8
|
||||
|
||||
|
100% sure - PPN helped me out with it and said put brackets and then it worked
![]() - miSt
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 22:43.






