View Single Post
Old 08-20-2004, 06:30 PM  
Smut
Confirmed User
 
Join Date: Sep 2002
Posts: 654
PHP Code Syntax (help please)

Here's what I'm wanting to do...

I have a little script that outputs a few parts in 1 string...
Example:

Form input:
Name
ICQ
Email

The script writes the data to file in the format of:
bob jones:5551212:[email protected]

Seperated with the ":".

Now, I'm trying to display each line on a seperate page formatted like so:

Name: Bob Jones
ICQ: 5551212
Email: [email protected]


I know there's something with the explode() function, or split()... but, not exactly sure if this is the best way to do it, and if it is, I'm not quite sure of the syntax.

Any help is appreciated.

Thanks
Smut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote