Posts by Raul Fernando • 166 points
8 posts
-
1
votes6
answers300
viewsA: How do I transform an array that is in a string for javascript array?
var data = "['aaaaa', 'bbbbb', 'ccccc', 'ddddd']"; var array = data.replace("[","").replace("]","").split(",")
-
0
votes1
answer113
viewsQ: Foreign code entered on page
This weekend the following code was entered on the pages of my site, but I did not understand what it does, could anyone give me a help? Encrypted code... //###=CACHE START=### error_reporting(0);…
phpasked Raul Fernando 166 -
0
votes1
answer67
viewsA: Help with increasing fields with javascript
<!DOCTYPE html> <html> <head> <title></title> <script src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <script…
-
1
votes2
answers1018
viewsA: Input type image does not send the form?
Put a value on the input so it’s not working I tested it here and it worked <input type="image" value="cadastrar">
-
1
votes1
answer69
viewsA: Make topic with latest post appear at the top on forum system
When you select them on topics sort by last id SELECT * FROM `teste` ORDER BY `id` ASC I don’t quite understand your question but from what I understand it’s either this or the way to your doubt!…
phpanswered Raul Fernando 166 -
3
votes2
answers1564
viewsA: Inserting a text input with a PHP button
<!DOCTYPE html> <html> <head> <title></title> <script src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <script…
-
1
votes2
answers70
viewsA: The inclusion of data is not occurring in the database, and the connection and variable is arriving in the function
<?php $conexao = mysqli_connect("localhost","roo","","test"); $tarefa = array("nome"=>"a", "descricao"=>"b", "prioridade"=>"c"); gravar_tarefa($conexao, $tarefa); function…
-
3
votes2
answers571
viewsQ: Variable Undefined
If I put the variable contador out of function, the return on Alert is undefined. But I put it inside the function, returns the correct value but does not increase. What I am doing wrong? var…