close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

old webassist MySQL site to new MySQLi update with DataBridge

Thread began 11/04/2018 7:36 am by Roland Rogers | Last modified 11/10/2018 9:26 am by Ray Borduin | 494 views | 2 replies |

Roland Rogers

old webassist MySQL site to new MySQLi update with DataBridge

I have a large dynamic site I built with a bunch of WA tools. I am in the process of converting it to MySQLi with the new extension I bought. Do I need to do anything to the existing database as part of the update of code from MySQL to MySQLi?

All seems to upgrade well but old fields that stored rich text (with html markup) are now showing as plain text WITH the html as part of the text. Could this be a code issue or database issue?

Here is how the new echo looks:

echo $rsContent->getColumnVal('Content');

Any help appreciated!

Sign in to reply to this post

Ray BorduinWebAssist

You don't have to do anything to the database.

The MySQLi version has built in Cross Site Scripting protection which prevents display of html on the page in case a user does it maliciously.

You can disable that in the rsobj.php file settings by updating that page globally (you will see it near the top of the page), or you can disable it for just the fields you want to allow html to display like:

php:
<?php

echo $rsContent->getColumnVal('Content',false);
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

Roland Rogers

Great! This did it! Thank you. Still have issues with other pages in my conversion (I'll submit separate tickets) but this solved a big hurdle.

Sign in to reply to this post

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...