mirror of
https://github.com/xfarrow/phpxpress.git
synced 2025-06-05 21:59:21 +02:00
code quality
This commit is contained in:
19
examples/dropdown.php
Normal file
19
examples/dropdown.php
Normal file
@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.min.css">
|
||||
<script type="text/javascript" src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.js"></script>
|
||||
<title>Dropdown example</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
include "../phpxpress/Dropdown.php";
|
||||
|
||||
$dropdown = new PhpXpress\Dropdown;
|
||||
|
||||
$dropdown->setTitle("Bank Account");
|
||||
$dropdown->setDataSource(array("Unicredit" => "#" , "United Bank" => "#" , "National Bank" => "#"));
|
||||
$dropdown->draw();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user