PHP Classes

File: usuario_inc.php

Recommend this page to a friend!
  Classes of Helio Barbosa   PHP Code Generator for MySQL Open Source   usuario_inc.php   Download  
File: usuario_inc.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Code Generator for MySQL Open Source
Generate classes to access database from dump file
Author: By
Last change:
Date: 5 years ago
Size: 494 bytes
 

Contents

Class file image Download
<?php
    $nome
= $_GET['nameId'];
   
$senha = $_GET['senhaId'];
    include(
"myclasses.php") ;
   
$NewUsuario = New Usuario() ;
   
//$NewUsuario->setCodigo_empresa($codigo_empresa);
   
$NewUsuario->setNome($nome);
   
$NewUsuario->setSenha($senha);
   
$NewUsuario->setCodigo_empresa(1);
   
// echo $NewUsuario->getNome() . "</br>" . $NewUsuario->getSenha() . "</br>" . $NewUsuario->getCodigo_empresa() . "</br>";
   
$NewCod = $NewUsuario->inserirUsuario() ;
    echo
$NewCod . "</br>";
?>