Categories

Updated: 08/13/2002

DreamweaverMX PHP-MySQL behavior: SIRFCIT

SIRFCIT - Show If Recordset Field Condition Is True. Create a conditional region based on the value of a field returned from a MySQL database. Suppose you had a button on your page (say a TicketWeb button for the sake of arguement) and you wanted to only show that button if a particular column in your database (say events_ticketweb)has a value of 1. With this extension, you simply select the item on your page and then choose this server behavior from your server behaviors panel. You will be prompted to select the Connection, Table, Column, and the condition you want to test for. You can check for any valid PHP condition which lets you test for both equality and data type.
©2003-2019 jCay.com