Posts by Bill Rocha • 59 points
7 posts
-
2
votes9
answers2096
viewsA: How to assign a function with parameters to click without executing it?
I hope that’s it! I used this HTML file to test: Note: messages will be shown in the browser console (F12) <!doctype html> <html> <head> <meta charset="utf-8"> <meta…
-
2
votes3
answers1172
viewsA: How to make change in order sequence with SQL statement
if ($_POST["Operacao"] == 'UpFaseObrigatoria') { // 1º Criar a "ordem" oposta $o1 = $_POST['Ordem'] === 1 ? 3 : 1; $o2 = $o1 === 1 ? 3 : 1; // 2º Modificar a ordem do "outro" registro $sql = 'UPDATE…
-
0
votes1
answer137
viewsA: Problem submitting form with SELECT tag, empty $_POST array
<form action="PHP_scripts/gerarApp.php" method="post" onsubmit="return waiting()"> <select id="estab" name="estab" class="form-control"> <option value="0">Selecione o…
-
0
votes1
answer290
viewsA: Show rss feed news one at a time with fade
I think it solves your problem and can serve many people: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Notícias</title> <style> #feeds…
-
0
votes1
answer47
viewsA: Display SQL results with specific field filters
Must return record if the type field is equal to zero and if all fields availability, vanual and vtemporada are zero. tipo = 0 disponibilidade = 0 vanual = 0 vtemporada = 0 RETORNA OK But... will…
-
1
votes1
answer935
viewsA: Internal Server Error with Htaccess File
If this makes the error disappear your REWRITE module is not enabled. <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d…
-
-3
votes4
answers158
viewsA: Passing argument by PHP array
As PHP is very "flexible" can even do so: $a = ["1,2,2016", "2,2,2016","3,2,2016"]; foreach($a as $as){ eval('exec('.$as.');'); }
phpanswered Bill Rocha 59