Beispiel #1
0
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php 
require_once 'Productos.php';
$cliente = new Productos();
$familias = $cliente->getFamilias();
$stock = $cliente->getStock("OPTIOLS1100", 1);
$pvp = $cliente->getPVP("SMSN150101LD");
$proFamilia = $cliente->getProductosFamilia("ORDENA");
print_r($familias);
echo '<br>-------<br>';
print_r($stock);
echo '<br>-------<br>';
print_r($pvp);
echo '<br>-------<br>';
print_r($proFamilia);
?>
    </body>
</html>