![]() |
Seperate a value
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> |
PHP Code:
|
Oh thank you for your replying, but I need it in template. If I use your code it shows in top of the page :(
|
You have to put the php code in a plugin that hooks at the proper location.
|
Change
PHP Code:
PHP Code:
|
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 :( |
All times are GMT. The time now is 10:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|