close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML markup showing on webpage

Thread began 12/07/2018 7:29 am by mrs | Last modified 12/10/2018 7:20 pm by Ray Borduin | 35 views | 4 replies |

mrs

HTML markup showing on webpage

I've manually added some code to DB records... for example:

<p>Stock item.</p> <p>Choice of wood finishes.</p> <p>Various types available ranging from basic tables to tables with storage drawers.</p>

So, nothing out of the ordinary, but it is printing on the page as shown above.

I've called the text in via a MySQLi recordset and placed on the page as a normal databinding, and within the bindings panel I have tried to convert new lines to BRs and have tried encode HTML entities. In the previous DA it used to print as expected and the HTML mark up styles content how it's meant to, but not so with this version.

Why's this happening? Has something changed between MySQL and MySQLi that has caused this?

Thanks.

Sign in to reply to this post

Jamie

Which version of rsobj.php file do you have? You may have CrossSiteProtect set to true. I have version 2.2 and have this set to false so this doesn't happen. If you need version 2.2 let me know and will post here

Sign in to reply to this post

mrs

Hi Jamie, I have 2.21 and 2.6 (which I think came from Ray). Both are showing the issue.

It's an odd one to say the least.

Sign in to reply to this post

Jamie

On your rsobj.php file, about line 11, do you have

$this->CrossSiteProtect = true;



If so change it to

$this->CrossSiteProtect = false;
Sign in to reply to this post

Ray BorduinWebAssist

You can remove Cross Site protection in the rsobj.php file, in the recordset code on the page, or in the individual references to each column.

I usually suggest making the change for columns instead of site wide in the rsobj.php file.

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