One of PHP's strengths is database connectivity. PHP supports a large number of databases and simplifies access via a unified ODBC interface. This provides a number of useful functions.
To see how to create a ODBC connection to Vertica check the following tutorial Vertica ODBC creation in Windows
-this function can take two parameters (result identifier and an optional row number)
The code line below returns the value of the first field from the record:
-the second parameter can be the field number or name of the column that needs to be dumped into the result set variable called name.
Example of how to create a database connection with PHP on Vertica.
Where the odbc_connect function will receive 3 parameters:
Now you can create custom applications in PHP ,ODBC interface and using Vertica as database tool.