PHP Separate values

Hi everyone, I need a little php help.

What I’m trying to do is separate the values from a line of text.

For example:
Line of text from my database: cNote_BsmT3s=cNote_yA84KW=cNote_0o709T=cNote_i9n97a=

to

BsmT3s - yA84KW - 0o709T - i9n97a

and then to

http://www.site.com/indax.php?id=BsmT3s
http://www.site.com/indax.php?id=yA84KW
http://www.site.com/indax.php?id=0o709T
http://www.site.com/indax.php?id=i9n97a

how would I do that?

thanks in advance for any help

You will probably need to some regular expressions on these.

ereg()

You may also be able to this completed using -
substr()
substr_replace()
str_replace()
strpos()

Look at the http://www.php.net for more information on any of these functions.

You can then just append the values on the href tag.

My Site

Sponsor our Newsletter | Privacy Policy | Terms of Service