

(We assume the result of the above mentioned SQL-result is "2021" as $YEAR and "5" as $MONTHNUM) $this->YEAR2 ->Caption. So i have added the third line of code in the top section: ($MONTHNAME = ) Īnd to display the month name the code is like this: Then the caption if the "YEAR2"-column will be: "In two Years it will be the year 2023 and the month number is 5"Įxtra: In my case I had in some columns the need to display the full month name based on the month number. PHPMaker is a powerful automation tool that can generate a full set of PHP scripts quickly from MySQL, PostgreSQL, Microsoft SQL Server, Oracle and SQLite databases. Then, after that, you can use the results in every column caption of your choice like this: ($MONTHNUM= ExecuteScalar ("select DISTINCT (CAST((SUBSTR(YEARANDMONTH,6,2)) AS NUMBER(4))) MONTHNUMBER from TABLE WHERE YEARANDMONTH= (SELECT MAX(YEARANDMONTH) FROM TABLE )")) Improved Toasts AdminLTE Toasts Plugin (activated as a jQuery plugin) with different options and events.Put the following code in the top of "PageLoad" event: ($YEAR = ExecuteScalar ("select DISTINCT (CAST((SUBSTR(YEARANDMONTH,0,4)) AS NUMBER(4))) YEAR FROM TABLE WHERE YEARANDMONTH = (SELECT MAX(YEARANDMONTH) FROM TABLE )"))

Once you done go to Table config of the table which is second tab available for each table. By default it set to 1 you can set required page number as per your choice. Code Repository supports scripting for fast and complex Custom Template generation Creating tabs is PHPMaker is very easy, on field configurations screen you will get Page No config next to each field.Support GitHub (with encryption of GitHub URL, username and password).Set up by server event as CustomMsg property of field objectsĮncrypted Connection with MySQL/PostgreSQL.Set up in Edit Tag panel (support Multi-Language), or.With Slim app you can use not only routing but also other advanced features such as middleware and dependency container. If PHPMaker finds any unsupported fields in a table, an Unsupported Fields tab will appear. Each route invokes a callback and must return PSR-7 Response object. PHPMaker support most commonly used data types. The Slim app contains routes that respond to specific HTTP requests. Web servers should be configured to sends all appropriate requests to one "front-controller" PHP file, the index.php, in which the Slim app is instantiated. Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. This video will show you how to create a web application that generated by PHPMaker which contains the Master/Detail Add and Edit form. PHPMaker 2021 generated applications now use Slim Framework. IMPORTANT If you upgrade from previous versions, please note that there are some breaking changes in this version, make sure you read Migrating to v2021 first.
