Posts by Éderson Fernandes • 60 points
4 posts
-
2
votes1
answer30
viewsA: Execute a validation inserted in a string
To run a String as a command in PHP, you can use the "Eval()". <?php eval('$var = (("TR1"=="TR" OR "TR2"=="TR" OR "TR"=="TR") AND ("10,0"=="10,1" OR "9,0"=="9,0"));'); echo $var; ?>…
-
0
votes4
answers1140
viewsA: How do you get a form down?
Try to use: <head> ... <style> form { margin-top: 50px; } </style> </head>
-
0
votes2
answers28
viewsA: Send cloned javascript files using php
From what I understand, you need to save a list of products, this? If it is, you need to change the name of the elements on the screen, to pass an array by POST. Where do you have: <select…
-
1
votes1
answer1494
viewsA: Two variables and a group by? PHP and MYSQL
Hello, one way to solve is by using Mysql UNION, where you can perform two queries, as if you were bringing data from two tables. Try this way: $mensagensqr = mysql_query("SELECT * FROM mensagens…