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.