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...
Did you know?Explore Trending and Topic pages for more stories like this.

Thanks
No comments posted yet

Your Answer:

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

problem with GROUP BY and ORDER BY
i usually use this query to display the last 10 entries from a sql table:

Code: $query = &quo

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

What is SAP Avatar ?
Hi All,

This G.Satish , my boss asked me to explore on SAP Avatar. I searced in internet

Need help with some php code :)
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D

I'm

[RESOLVED] Socket/Port remains open after app crashes
I'm having this problem with a networked app in vb.net.

If the program exits normally the por

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Multi-image upload problems
Lets see if I can get some help on this one. Can anyone show me what I am doing wrong here. I'm just

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