Im having trouble with this:
The $m_firstn var comes from a "First Name" field in a form.PHP Code:
ereg_replace('[\]', "", $m_firstn);
I need to strip out any "," and " ' " before it is written to a confirm page
such as "John Doe, Jr" and any apostrophe's.
The reason Im stripping the "\" in the above is because I later get the the values from a db and anything with " ' " comes back "Lady\'s", so the above seems to take care of that, but Im not sure of the syntax to strip all of above mentioned characters.
Hope that makes sense.
Thanks in advance!