0

Possible Duplicate:
php string separate function

My string is

&lbl12=Bourne Pond II – 30" long X 36" wide - Oil on canvas&prc12=1250&sold12=SOLD&

I need to display the text between &lbl12= and &prc12 ie:

Bourne Pond II – 30" long X 36" wide - Oil on canvas

How can I do this?

2
  • 3
    This seems to be an exact duplicate of your previous question. Commented Mar 31, 2011 at 7:34
  • Do you want to extract the text between &lbl12= and &prc12 (Bourne Pond II – 30" long X 36" wide - Oil on canvas)? Commented Mar 31, 2011 at 7:36

1 Answer 1

0
"&lbl12=".$myvar1."&prc12=".$myvar_2."";

do you mean something like this?

also you can urlencode your string after;

$string  = urlencode("&lbl12=".$myvar1."&prc12=".$myvar_2."");
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.