mardi 4 août 2015

prev() next() array element on PHP

I have problem,

$text = "My little brother give me a snack";

I sign that if the word = give it sign as verb and then it'll be current position

how to show my all previous position and my all next position.

output :

verb = give

current = give

subject = My little brother

object = a snack

I know that it can be applicate with prev() and next()

but how to use it ?

Thank's



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire