reg expression help

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
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

reg expression help

Post by mcog_esteban »

hello.
i have to show some data retrived from a bd in a popup window, but sometimes i get errors(javascript)like "Undetermed String Constante",or probelms with " or '.
can some help me with a reg expression to find "chr(13)chr(10)" and change it to chr(32)?

thanks.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

That error will happen when you have an invalid character in your matching.
Post Reply