String Help
Posted: Mon Sep 06, 2004 10:50 pm
I working on a way to take information in a mysql record field that is comma delimited (e.g. "000001,000012") and then match it with its corresponding id number is another mysql database.
For instance the second mysql database the record ID "000001" is named "Home" and record ID "000012" is named "Work."
What I wanting to do is to have php script to display the comma delimited information and display it with the names of the records in the second mysql database.
In other words, I want to display (000001,000012) as (Home, Work).
How can I do this? I'm new to php and I'm at a lost.
For instance the second mysql database the record ID "000001" is named "Home" and record ID "000012" is named "Work."
What I wanting to do is to have php script to display the comma delimited information and display it with the names of the records in the second mysql database.
In other words, I want to display (000001,000012) as (Home, Work).
How can I do this? I'm new to php and I'm at a lost.