How to use Substr


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

I want to check for the word CATEGORY: inside a string which can be CATEGORY: ITEM
and remove the word CATEGORY: leaving only ITEM inside the string....

In case the string does not have CATEGORY: before listing the ITEM then nothing happens...

Thanks

No comments posted yet

Your Answer:

Login to answer
56 Like 26 Dislike
Previous forums Next forums
Other forums

Variables and Include
Code: [Select]<?php

$header = $_COOKIE['mss']['header'];
$body = $_COOKIE['mss']['b

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

PHP5/Zend 2.0 - Resources
PHP5 Snapshots
http://snaps.php.net/

ZEND 2.0 Feature Overview and Design (PDF File

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

php/mysql auto logout after 2 hour and reset password
Hi all,

This I hope will make sense. I've the following code which when a user logins in, cr

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

header redirect problems? please help
Ok i am making a site that generates youtube thumbnails and i am generating an image that displays 1

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

natcasesort works on one server but not on another
Hi

I have a problem that I was hoping that someone can help me with.

I'm trying to use

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