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

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

PHP If Else statement for breadcrumb
Hi

I am trying to use a PHP if else statement to display a breadcrumb link on wordpress

[function.file]: failed to open stream: No such file or directory
Okay I wrote this little script to upload a csv file that is located on my webhosts server to a mysq

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work.

Query issues
I probably have this setup wrong well I know I do because nothing is showing up now. What I want is

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