Posts by Rodrigo Pacheco • 41 points
3 posts
-
-2
votes2
answers236
viewsQ: Error: Undefined index
I have this code and you give me the following mistake: Notice: Undefined index: ID in <? require('../members/inc/config.php'); require('../lib/framework.php'); // load the configuration file.…
-
-7
votes2
answers70
viewsQ: Where is the mistake?
while($row = mysql_fetch_assoc($result)) { if($row['level'] = '0') { echo("Fundador '); //pode fazer tudo } if($row['level'] = '1') { echo('Admin'); // nao pode adicionar nem remover e/ou edit users…
-
1
votes3
answers70
viewsQ: How to add two values?
while($row = mysql_fetch_assoc($result)) { if($row['level'] == '1') //COMO ADICIONO PARA OUTRO NIVEL CONSEGUIR VER ESTA PAGINA? { echo('OLAAAA'); } else { echo('NAO TENS ACESSO A ESTA PAGINA'); } }…