Posts by Eduardo Pereira • 116 points
13 posts
-
0
votes1
answer35
viewsA: How to pass HTML form element parameters directly to the URL
In this case you will work with Friendly URL. For this it will be necessary to change your .htaccess : <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond…
-
1
votes1
answer87
viewsA: Save form in database
It was only necessary to execute the code buddy. After your last line of code... $insert_data->bindParam(':message', $message); Insert: $insert_data->execute();…
-
0
votes2
answers123
viewsA: onclick event is not calling the function
Did you check the console through Browse? It may be that another part of the code is wrong and not the function call. Try using this in your function call. NOTE: The INPUT tag does not need to be…
-
2
votes2
answers36
viewsQ: Relationship between Similar Tables
I have a Relational Database structure. I will illustrate more briefly my tables: Tab_client with fields (ID, Name, ETC...) Tab_company with the fields (ID, Name, ETC...) Image tag with fields (ID,…
-
-1
votes2
answers143
viewsA: What does a table with OCCURS 0 in ABAP mean?
Occurs 0 Specifies how many rows the table can have, when set to zero you can have as many rows as needed.
-
0
votes3
answers588
viewsQ: Recover $_SESSION with Ajax
It is correct/safe to set a Session in PHP and recover this value using AJAX? I am creating an application using transparent Pagseguro checkout and need to pass a value as Reference (Identifier).…
-
1
votes1
answer199
viewsQ: Login Security with PHP and AJAX safely targeting
Recently I had to make a login system with access levels, but when directing the user to a given page hit me a question regarding the security of the code. Ignore the validations, I will show only…
-
0
votes3
answers838
viewsA: take input value Hidden within a <td> tag
Take the value of the input in a table row: $(function(){ $('button').click(function(){ var valor = $(this).parent().find('.field').val(); alert(valor ); }); }) <script…
-
0
votes1
answer1546
viewsQ: Login to Facebook - PHP
Colleagues, I am trying to enter the Facebook LOGIN option in my test application (Local Host), but is displaying the following error: My settings are as follows: and I’ve made several changes and…
-
-1
votes2
answers2780
viewsQ: Return PHP values via Ajax and display in HTML (separately)
Can you return values from a PHP page via Ajax and display them separately? Ex. I have a PHP page on which I have the return values: <?php echo $a; echo $b; echo $c; ?> Currently I can…
-
2
votes1
answer1359
viewsQ: Calling functions/procedure via buttons using Object-Oriented PHP
I’m starting in PHP O.O and I’m having difficulty calling the functions that are in the class through HTML buttons. In fact, it is not in calling but in setting the values that are in the function.…
-
-4
votes1
answer258
viewsQ: WHERE clause with PHP coming from Javascript
I need to pass a variable from PHP in a clause WHERE of a SELECT, but this PHP variable gets a value from JAVASCRIPT. I ran a test passing only a native PHP value and it worked: <?php $phpNum =…
-
0
votes1
answer247
viewsQ: Receive a string from a PHP array for a Javascript variable?
I have a PHP array with a certain string, Ex.: $matriz[2][2] = "texto"`. Hence I want to pass this matrix to a Javascript variable. Ex.: `var v_php = "<?php echo $matriz[2][2]; ?>";` When I…