This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 3 matches

by rubenmb
Sat Jan 20, 2007 11:12 pm
Forum: Scripting Help
Topic: One result in public, the rest in private
Replies: 6
Views: 4349

Yes user your right, i should have posted you some code. And that way you would see that after calling the foreach i handle each argument of each string in a way that makes it impossible to use the method you posted, because its no longer: {some text and more text} {second result text} {and so on} a...
by rubenmb
Sat Jan 20, 2007 9:35 pm
Forum: Scripting Help
Topic: One result in public, the rest in private
Replies: 6
Views: 4349

That looks nice. Tks for the reply. But how should it be done if some of the results contain more then one argument in the same string:

Code: Select all

{some text more text}
lindex will result in an output of those words like they were diferent results:

Code: Select all

some
text
more
text
:roll:
by rubenmb
Sat Jan 20, 2007 3:25 pm
Forum: Scripting Help
Topic: One result in public, the rest in private
Replies: 6
Views: 4349

One result in public, the rest in private

Hi everyone, Here's what i want to do. I have some results from a mysql query, lets say like 10. And right now, i am using a foreach loop to set my variables for each one of the results and output them into one channel. Now what i want to do is output the first result it finds in public, and all the...