Posts by Allan Andrade • 6,409 points
206 posts
-
8
votes1
answer88
viewsA: How to protect a service site before launch?
About the INPI: A) The trademark registration will protect only the NAME or LOGO, which you register. B) The software registry will protect only the source code, which you must burn to CD/DVD and…
-
1
votes2
answers363
viewsA: Calling value from another page
Trying to be didactic, I think you could try this way... (I don’t know which database you use, I made an example using MYSQL). On the page that lists the news, on the link "read more" of each news…
-
1
votes1
answer494
viewsA: Creating/Viewing HTML report
If it comes all in one select, you can try something like this: $filialAnterior = -1; for/while/foreach (o que vc usar para o loop){ if($filialAnterior === $dadosConsulta['numero_filial']){ //…
-
0
votes3
answers90
viewsA: Insert picture into 2 different tables
lastInserId() must be related to the connection and not to the query output. Tries to replace: $last = $inserir->lastInserId(); For: $last = $con->lastInserId(); Also, I made another…
-
3
votes2
answers154
viewsA: Read XML received from ajax - PHP
You only need to use tmp_name instead of name. Take an example: <?php if(isset($_FILES['input_file'])){ $xml = simplexml_load_file($_FILES['input_file']["tmp_name"]); echo '<pre>';…
-
2
votes2
answers581
viewsA: Retrieve PHP combobox information
Failed to close select and set equal sign after query in value. Try this: <select name="cmbtimes"> <?php //pegando os dados while($dados = mysql_fetch_array($query)) { //mostrando eles…