problem in str_replace function with check boxes
Moderator: General Moderators
problem in str_replace function with check boxes
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.
Re: problem in str_replace function with check boxes
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?
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?
Re: problem in str_replace function with check boxes
I can't get your problem too. Can you post your code here?
..and please don't use all caps.
..and please don't use all caps.