Jump to content

[SOLVED] if variable contains


Miko

Recommended Posts

Hello,

 

I was wondering if the following is possible:

 

one of my scripts get's data from the mysql database and in one of the collumns has email addresses.

Now that collumn can contain several addresses al seperated with an ";" .

 

It should stay with the ";" in the database but must be show in html with an non breaking space ( ).

 

I was just trying to "fix" this with an array like this: $dot_comma = array(";" => " "); but then he doesn't show anything.

 

Someone has an idea?

 

Thanks :)

Link to comment
https://forums.phpfreaks.com/topic/155509-solved-if-variable-contains/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.