Back

Editing, Updating and Creating Records
keyTable
The name of the table you are editing and creating records on Normally, phpLens can guess the name of the table for you unless you are using stored procedures. You can define a dynamic key table by prefixing this property with '=' or '%'. See example below. Available in phplens 1.2. Syntax `$lens->keyTable = 'atable'; # the following allows you to have multiple tables # holding postcodes for different countries, eg. # MALAYSIA_POSTCODES, USA_POSTCODES, etc. # and reuse the same phpLens object for different tables. $lens->keyTable = '={$COUNTRY}_POSTCODES';` Basic:No Advanced/Enterprise:Yes DynamicEdit:Yes [Version 1.0]