Basic usageAll examples in the MaxDB PHP documentation use the HOTELDB demo database from MaxDB. More about this database can be found at » http://maxdb.sap.com/doc/7_7/44/d8c25164bb38d0e10000000a1553f7/content.htm. To use the examples in the MaxDB PHP documentation, you have to load the tutorial data into your database. Then you have to set maxdb.default_db in php.ini to the database that contains the tutorial data. This simple example shows how to connect, execute a query, print resulting rows and disconnect from a MaxDB database. Example #1 MaxDB extension overview example
<?php The following example shows how to bind variables to a SELECT INTO statement. Example #2 Example for use of SELECT INTO statements
<?php The following example shows how to use MaxDB database procedures. Example #3 Example fore using database procedures
<?php |