The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi, can you help me with seperating?
I have ex. this script: PHP Code:
ex. "word 1, word2", How can I show for each word in template with HTML Code:
<a href="myfile.php?do=word 1">word 1</a>, <a href="myfile.php?do=word2">word2</a> ![]() |
#2
|
|||
|
|||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
Oh thank you for your replying, but I need it in template. If I use your code it shows in top of the page
![]() |
#4
|
|||
|
|||
![]()
You have to put the php code in a plugin that hooks at the proper location.
|
#5
|
|||
|
|||
![]()
Change
PHP Code:
PHP Code:
|
#6
|
||||
|
||||
![]()
Hi again,
I have now another problem with seperating (using foreach function) If I have SELECTED 3 rows from Database. From second and third row they will repeat what previous row has. Something like this: Row 1: mytext, text Row 2: thisis, thetext Row 3: someword, my word Then in template shows: 1: mytext, text 2: mytext, text, thisis, thetext 3: mytext, text, thisis, thetext, someword, my word I think you will understand what I mean, thanks for helping me ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|