close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can you give me some hint about this strange behavior

Thread began 6/02/2016 9:11 am by Colin | Last modified 6/03/2016 12:31 am by Colin | 337 views | 2 replies

Colin

Can you give me some hint about this strange behavior

when I use this extension 1.0.4 version...
in my own server,it can load the database data correctly
but...
in my company's server (the server can use php and mysql too,because it use opencart system),it will appear that
http://kusdom.com/proname.php?ref_pk_no=811
the sql code print to the text

so...Can you give me some hint about this strange behavior or maybe tell me if any system environment that should check once again ?

by the way,I am very sure that my own server's code is the same as my company's server code

======
<?php require_once('Connections/connection.php'); ?>
<?php require_once('webassist/mysqli/rsobj.php'); ?>
<?php
$oc_kshop_product_attr = new WA_MySQLi_RS("oc_kshop_product_attr",$connection,1);
$oc_kshop_product_attr->setQuery("SELECT field_value FROM oc_kshop_product_attr WHERE ref_pk_no = ? AND field_name = 'topic'");
$oc_kshop_product_attr->bindParam("i", "".(isset($_GET['ref_pk_no'])?$_GET['ref_pk_no']:"") ."", "-1"); //colname
$oc_kshop_product_attr->execute();
?>
<?php echo($oc_kshop_product_attr->getColumnVal("field_value")); ?>
======

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