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

Show If question

Thread began 1/04/2011 5:33 pm by Sally | Last modified 1/05/2011 4:54 pm by Sally | 1833 views | 15 replies


Thank you, Jason. That makes sense. But two followup questions.

First, I selected the record set and moved it after line 6
<?php require_once('Connections/residents_unix.php'); ?> and before what used to be line 7
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>

but now I get the error:
Fatal error: Call to undefined function getsqlvaluestring() in /data/25/2/98/45/2424045/user/2657060/htdocs/test/directory_detail2.php on line 13

Line 13 is
$query_rs_directory_detail = sprintf("SELECT * FROM Residents WHERE ID = %s", GetSQLValueString($colname_rs_directory_detail, "int"));

Not sure what to do now.

The second thing I will need to know to get this to work properly, is how to have the first group of data Show If the "If Self" OR the "If Admin" rules are met. I'm not sure how to string those together in php. Can I do it by

<?php if(WA_Auth_RulePasses("If Self") OR WA_Auth_RulePasses("If Admin")){ // Begin Show Region ?>

And can I still have a second Show If Admin within that group that will only show the Group field if you are Admin?

I've attached the file if it helps.
Thank you.

Attached Files

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





Ease of use


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