php-pagebuilder Code
Brought to you by:
stwerff
--- a/src/screens/add.cs +++ b/src/screens/add.cs @@ -282,12 +282,11 @@ #print ' echo \"<script>window.opener.location.reload(true)</script>\";\n' #print ' echo \"<script>window.close(self)</script>\";\n' #print '}\n' -#print '$_SESSION[\'last_'^TableID^'\']=' #record select `Add`, FieldName, `Type`, DisplayName, DisplayLength, areaheight, areawidth, LookupTable, OrderByField, LookupIDField, LookupDisplayField, SessionVar from `fields` where TableID=?table_id? and FieldName<>'' and FieldName<>?IDfield? and FieldName=?ListOrderByField? #if SessionVar<>'' - #print '\'$' ^ SessionVar ^'\';\n' - #else - #print '$' ^ FieldName ^ ';\n' + #print '$_SESSION[\'last_'^TableID^'\']=\'$' ^ SessionVar ^'\';\n' + #else + #print '$_SESSION[\'last_'^TableID^'\']=$' ^ FieldName ^ ';\n' #end #end #print ';\n'