close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

prevent html tags from displaying

Thread begun 1/16/2022 4:07 pm by randyrie405335 | Last modified 6/24/2022 9:00 am by Ray Borduin | 444 views | 10 replies |

randyrie405335

Prevent html Tags from Displaying

Is there a way to prevent html tags (like <p> ) from showing in dynamic
text on my webpage... the code that I thought prevented this [$CKEditor_initialValue = "".($rsLatebreaking->getColumnVal("article",false)) ."";] is already in the HTMeditor code on the page.

Sign in to reply to this post

Ray BorduinWebAssist

You have to add the "false" argument manually when the code is displayed as well.

$rsLatebreaking->getColumnVal("article",false)

The "false" at the end is what tells it to display html code and not encode it.

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

randyrie405335

Not working in Windows 11 (works on Mac localhost and public server)

On my HLAA homepage:

Date Uploaded: <?php echo($rsLatebreaking->getColumnVal("eventdate")); ?> (...EventDate displays)
<br/>
<br/>
<?php echo($rsLatebreaking->getColumnVal("article",false)); ?><br/></p> (...Article does not display but does if I remove the 'false' parameter)

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to debug it. Do you have the latest version of rsobj.php? I'm thinking maybe you have an older version on the mac.

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

randyrie405335

How do I know if I have the latest version of rsobj.php? (The only version I know I have is the overall DataBridge v2.35)

Sign in to reply to this post

Ray BorduinWebAssist

If you open the rsobj.php file it has the version listed at the top. Compare it on the servers you are having issues with.

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

randyrie405335

Supporting Files Issues

What are the latest versions of rsobj, authorizatiion, and queryobj files and can I download them separately to update my mysqli folders?

Sign in to reply to this post

Ray BorduinWebAssist

The best way to update them is to reinstall DataBridge and then open a recordset and click ok... that will update the rsobj.php file.

Then open any insert//update/delete server behavior and click ok to update the queryobj.php file, and then update a login or authentication server behavior to update the authentication.php file.

That way your current site will be updated and so will any future sites you work on.

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

DeanCollins

I've done that ... reinstalled, opened and okayed. But I'm getting HTML tags in my page. Never had this happen before.

Sign in to reply to this post

Ray BorduinWebAssist

Yes. The MySQLi integration includes built-in Cross Site Scripting protection which will encode html and scripts so it won't be displayed. You can manually disable it in the code by changing references from:

$Recordset->getColumnVal("column")

to:

$Recordset->getColumnVal("column",false)

Adding the "false" argument to the end will tell it you don't want Cross Site Scripting protection and will allow html to be displayed from the recordset directly.

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

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