[PHP] Problem replacing part of a string

2001-08-29 Thread Don
Hi, I have a PHP routine that writes to a text file. An example output line would be: fputs($fp, $form[notify_1] . \n); Where $form[notify_1] is an array of form variables passed to it. What I wish to do is prior to writing to the text file, I want to search and replace all ')' with '}'

Re: [PHP] Problem replacing part of a string

2001-08-29 Thread Andrey Hristov
replacing part of a string Hi, I have a PHP routine that writes to a text file. An example output line would be: fputs($fp, $form[notify_1] . \n); Where $form[notify_1] is an array of form variables passed to it. What I wish to do is prior to writing to the text file, I want to search and replace