MVM example twig templating


devel_breakpoint placed at the beginning in this example.

example_content_var = 'This is another test string value.'
'This is a test string value..' in Spanish = 'Este es un valor de cadena de prueba.'

This page has an attached javascript file.
div's text before javascript runs

value of variable 'odbc_error_message'=

write out a generic table with header row from the tpt370_data array, including an index column see https://getbootstrap.com/docs/3.3/css/#tables for formatting examples
Index BOOLVAL BOOLDESC CHGUSER CHGTIME
1 Y Yes/True LARRYHA 2004-11-12 14:47:32.889955
2 N No/False Convert61 2000-12-31 13:09:27.746856

refer to a specific value from a specific row= 'LARRYHA '
example of dumping an array to page for debugging
array (size=2)
  1 => 
    array (size=4)
      'BOOLVAL' => string 'Y' (length=1)
      'BOOLDESC' => string 'Yes/True                      ' (length=30)
      'CHGUSER' => string 'LARRYHA   ' (length=10)
      'CHGTIME' => string '2004-11-12 14:47:32.889955' (length=26)
  2 => 
    array (size=4)
      'BOOLVAL' => string 'N' (length=1)
      'BOOLDESC' => string 'No/False                      ' (length=30)
      'CHGUSER' => string 'Convert61 ' (length=10)
      'CHGTIME' => string '2000-12-31 13:09:27.746856' (length=26)

search value was ''
mvm_example_form inserted here
write out another generic table from the tpt110_data array, with search value as part of where, using first data column as index
INTTPID TPDESC
1 CORPORATE OFFICES
3 GREIGE FABRICS SALES
8 Textraw
11 China Sourcing
21 TRION SHARED FACILITIES
22 TRION MILL
23 TRION FINISHING
24 AFG CONVERTING
25 CLEVELAND FABRIC
26 ALTO FABRIC
30 RIECHEM
31 FRESNO FABRICS
33 BRENTEX SHARED
34 BRENHAM FINISHING
35 Brentex Division
36 BRENHAM
37 MOUNT VERNON MILLS (CUERO)
38 BRENTEX CONVERTING
39 BRENHAM CUT PRODUCTS
42 LA FRANCE DIVISION
43 LA FRANCE RETAIL
44 ALTO YARN
47 DOMINICAN REPUBLIC WAREHOUSE
49 COLUMBUS CUT PRODUCTS
51 TALLASSEE MILL
53 Apollo
54 Sage
55 FCI
56 MOUNT VERNON CHEMICAL INTL
60 PHILCHEM
83 ARKWRIGHT
84 RIEGEL HOSPITALITY
86 JOHNSTON DISTRIBUTING
87 JOHNSTON
88 MCCORMICK
93 SMITH & WATERS
94 Avondale Trucking
1000061 WILLIAMSTON MILL