problem in str_replace function with check boxes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
itarun
Forum Newbie
Posts: 7
Joined: Fri Jan 25, 2008 9:22 am

problem in str_replace function with check boxes

Post by itarun »

hi friends i am new to the php I CREATED THE 3 CHECK BOXES AT THE TIME OF DISPLAYING IN THE DATABASE NO GAPS BETWEEN 3 CHECKBOXES FOR THAT I USED EXPLODE FUNCTION BUT IT DISPLAYS SPORTS| MUSIC|STUDIES, BUT MY TL SAYS WITHOUT CHANING THE EXPLODE FUNCTION U SHOULD DISPLAY THE COMMAS FOR THAT I USED STR_REPLACE BUT IT SHOWING THE COMMAS UNECCSARILAY EVEN THERE IS NO ELEMENT SELECTED WHAT CAN I DO TO AVOID THE COMMAS UNECCISARLY.
User avatar
Inkyskin
Forum Contributor
Posts: 282
Joined: Mon Nov 19, 2007 10:15 am
Location: UK

Re: problem in str_replace function with check boxes

Post by Inkyskin »

Hi,

First, you dont need to post in CAPS. Second, I dont quite get what you mean... Do you have the section of code thats giving you a problem?
Festy
Forum Commoner
Posts: 28
Joined: Wed Jan 30, 2008 10:01 pm

Re: problem in str_replace function with check boxes

Post by Festy »

I can't get your problem too. Can you post your code here?
..and please don't use all caps.
Post Reply