Completed

Arrumar cadastro de usuario

Published on the September 23, 2017 in IT & Programming

About this project

Open

O codigo de cadastro de ususario está assim :

<select name="form_permisoes[]" id="compositor" size="4"  multiple="multiple">


<?php
$contar =  explode(",",$_session['uspermissoes']);
for ($i=0;$i<count($contar);$i++)
  {
     

if (is_numeric($contar[$i])) {
    



$selecioform = "select * from menu where id = ".$Contar[$i]." ";
        $Resultadosform = $conn->prepare($selecioform);
        $resultadosform->execute();
$ver = $resultadosform->fetch();

if(isset($ver['id']) and $ver['nome'] != ""){
echo "<option value='".$Contar[$i]."'>Cl. ";
Echo  $ver['nome'];

echo "</option>";
}



} else {
echo "<option value='".$Contar[$i]."'>".$Contar[$i]."'>".$Contar[$i]."</Option>";

     
        ?>

 
<?php  }
?>

Mas nao aparece todos os formularios e menus, e aparece as permissoes como é vista no codigo: "adddados"...
Gostaria de colocar para aparecer em ordem menu submenu e formulario, e as permissoes, para serem selecionadas com check-box. Preciso disso hoje...

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have Not applicable
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
API Integrations Other (Other APIs)
Roles needed Developer

Delivery term: September 24, 2017

Skills needed

Other projects posted by Paulo R. B.