• Products
  • Download
  •  Order 
  •  Discounts 
  • Whitepapers
  • Support

Access forms to PHP+MySQL conversion >> custom php coding

DBForms from Access to PHP + MySQL generates the following folders
and files structure for web forms:


Highslide JS



Note:  -this structure is created for EACH converted web form.





If you want to add your own php code you can do it in action.php generated file. This file is meant for custom php coding. In action.php you can find stubs for corresponding form control event. For example:

function login_id_Click()
{
  // add your code here
}

Pay attention that in DBForms there is an Action Manager Library of ready-to-use functions in php forms.

Action Manager Library is a collection of integrated functions users can apply for visual presentation and operational abilities of web form elements.

Example of the function adding from Action Manager Library is written below:

function login_id_Click()
{
  $action_manager = new ActionManager;
  $action_manager->GetElement("userName_id");
  $action_manager->SetBkgColor("#99FF33");
  $action_manager->SetBorderWidth(10);
  $action_manager->GetElement("img_id");
  $action_manager->SetAltText("Sleeper text");
  $action_manager->SetVisible(false);
  $action_manager->GetElement("user_lable_id");
  $action_manager->SetFont("helvatica", 18, "oblique", "bold", "small-caps");
  $action_manager->GetElement("userPass_id");
  $action_manager->SetBorder(5, "dashed", "rgb(255,0,0)");
  $action_manager->SetBorderStyle("ridge");
  $action_manager->SetTextColor("rgb(0,0,255)");
  $action_manager->SetCursor("help");
  $action_manager->SetTextRTL(true);
  $action_manager->Move(200,-1,-1,200);
  $action_manager->GetElement("link_id");
  $action_manager->SetLetterSpacing(10);
  $action_manager->SetTextTransform("uppercase");
  $action_manager->GetElement("check_id");
  $action_manager->SetCheck(true);
  $action_manager->GetElement("select_id");
  $action_manager->AddItem("some", false);
  $action_manager->SelectItem("some_id");
}

You can find information about all integrated functions in the product help file.



If you need to add php code for subform events please find the corresponding folder named by subform name. In action.php file you can write down your own php code.





DBConvert Product Line

Access
Access
MS SQL
MS SQL
FoxPro
FoxPro
MySQL
MySQL
PostgreSQL
PostgreSQL
Excel
Excel
SQLite
SQLite
Firebird
Firebird
Oracle
Oracle
DB2
DB2
:: © 2001-2013 DMSoft Technologies ::