PHP Show If Recordset Field Condition Is True Support

A new server behavior for DreamweaverMX's PHP-MySQL server model. This allows you to have a conditional region based on a comparison of a value you specify, against a recordset field. You can use numeric or string values, or a variable name. If you downlaoded version 1.0, please replace it with this version 1.1 which is much improved.

Overview

Current Version: 1.2.0

This handy server behavior for DreamweaverMX's new built-in PHP-MySQL server model lets you select an element on your page, and then insert a behavior that shows the element only if a Recordset field condition is true. You can create any valid conditional statement to evaluate, such as a recordset result being compared against a value or a variable. This works especially well when used inside a "Repeat Region" behavior applied to a table row. To test for numeric or string values, just enter the value and PHP will figure out the data types. To test for variable names, just enter the variable name.

What's new: Recently received Macromedia approval. Added support for all conditions via a pulldown menu.

Brought to you by www.brettbrewer.com

Version History:
Version 1.2.0 -
Added support for all valid PHP conditions.
Version 1.1.3 - Updated UI and documentation slightly.
Version 1.1.2 - Updated UI and documentation slightly.
Version 1.1.0 - Translator and auto data typing added. (Thanks Tim Green)

Version 1.0 - Initial release. Contained minor PHP syntax error in closing tag. Missing translator. Non-conforming UI.

To-d Add the ability create more complex conditionals using pull-down menus. Move documentation to separate help page or buildatabbed interface. Add checkbox to allow users to choose to fill empty results with a non-breaking space so that empty table cells will still show up.

Requirements

Type: Server Behavior
Product: Dreamweaver MX
Server Model: PHP MySQL
Platform: Win XP/2000/2003/2008/7, Mac OS 8.6 or higher
Browser: All

Reviews

Download

March 19, 2018 by Vivian Eersels
I can't download it on my profile/extensions

You must me logged in to write a review.