close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Searching/replacing "select" columns within MySQLi server behaviors

Thread began 2/02/2018 10:19 am by gail.bergan407744 | Last modified 2/09/2018 12:47 pm by Ray Borduin | 436 views | 3 replies |

gail.bergan407744

Searching/replacing "select" columns within MySQLi server behaviors

I have a membership database that I inherited, and had to teach myself MySQL to get the database online/dynamic for my client. A preexisting column heading was titled "foreign" to indicate foreign members. Not realizing that "foreign" was a protected field within MySQL coding, I built a ton of server behaviors that GET or POST to my tables data that include this foreign field. Now of course, the posting in this particular field is not working (everything else is) and I realize I need to rename that column (to maybe "overseas"), as well as the "select" field in all my server behaviors.

Is there a quick and dirty search-and-replace operation I can do to accomplish this in code view? Or do I have to go into these server behaviors one by one and make the changes? I'm nervous about this because the panels are half-broken, the database connections are not showing, I'm seeing "***No Table Found", etc. I'm afraid to break the whole thing.

Any guidance would be greatly appreciated!

Sign in to reply to this post

Ray BorduinWebAssist

A site-wide find and replace should work... it just would also replace the plain text version of the word if it appears on your site as well.

Sign in to reply to this post
Did this help? Tips are appreciated...

gail.bergan407744

Thank you Ray, the find-and-replace did indeed work! I did a test on one server behavior first, and when that was OK, I replaced the whole shootin' match. Much obliged!

On a related question, because "No table found" was showing up in my Bindings panel, I thought I should do this in DW v. 6. But when I opened the same php files there, all server behaviors had disappeared! It was as if I had never written them - even though that's in fact where they were created. Any ideas as to why?

Gail

Sign in to reply to this post

Ray BorduinWebAssist

Maybe the same extensions aren't installed or different versions so the server behavior code isn't recognized.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...