Get word number x from string?


Posted on 16th Feb 2014 07:03 pm by admin

How can I use a function to loop through a string, and "have a look at" every word in the string, probably separated by a comma, and print them out, like this:

word 1: xxxx
word 2: xxxx
Did you know?Explore Trending and Topic pages for more stories like this.
word 3: xxxx

etc, and loop till it has finished?
No comments posted yet

Your Answer:

Login to answer
288 Like 31 Dislike
Previous forums Next forums
Other forums

Can php detect connection speed and thereafter swap out elements?
No code to post, lads, yet. Just looking for a yay or nay at this stage:

Can a php script be

media recovery
Hi,
i startup the database i got the error

SQL> startup
ORACLE instance started.

This must be easy , pulling the last record of the day, every day, from a txt
I have a txt file logging weather data every minutes (so 1 record per minute). I want to extract the

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

Request for tunning the below query
Hi,

Can any one help me on the below query while improving the performance,

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

I need an iframe that calls up a different page according to the date
hi

I don't know any php (only html) and I urgently need to do the following:

I need a

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash