How can you detect variable string in a massive string?


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

Ok guys, i need some help with this one.

I am going to be getting a large string, like 10-20 paragraphs. I will also have an array or words that i would like to search it for. Ex
SearchString[1]="cows", ...

How could i implement this with php? I would basically want to do a word count, but i want to make the code myself.

Can anyone help me? ty!

No comments posted yet

Your Answer:

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

Page not Loading After Test
Hey All

It seemed that an inlcude statement wasn't working for some reason, so I tried a more

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

Printing issues with xMII 11.5
For some reason, we have one report (and only one) that is giving us fits when trying to print. The

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

Displaying a clickable playername
I am going wrong somewhere with the mysql_query, can someone please put me straight?

$playern

Progress bar for webpage
Hi,
I want to implement a progress/waiting bar on my webpage - exactly the same thing that the Mi

ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

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