• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Search results

  1. S

    RESOLVED Fetch information from a database with AJAX

    Thank you so much for your kind help! It now works perfectly!
  2. S

    RESOLVED Fetch information from a database with AJAX

    Thank you. I rewrote the getuser.php in the normal php code (see here below): ------- $q = $_GET['q']; $sql1 = "SELECT * FROM my_table WHERE person = '" . $q . "'"; $result = mysql_query($sql1); while ($row = mysql_fetch_array($result)) { echo $row['person']} -------- and I put the full URL ->...
  3. S

    RESOLVED Fetch information from a database with AJAX

    My goal: -> Through a <select> tag (triggers a javascript), I want to fetch information from a mysql database, using the XMLHttpRequest object. -> With this AJAX method it is possible to dynamically display information (when changing choice of <select> tag) without reloading the page. my html...
  4. S

    RESOLVED not possible to access stored $_GET data in array, from input fields generated with javascript

    Thank you, with the help of your advice, I could find my problem, and I solved it.
  5. S

    RESOLVED not possible to access stored $_GET data in array, from input fields generated with javascript

    This issue worked with the [insert_php] method, but not with the Woody snippets. Graphical view on web, see attached file ---------------------------------- I have following form, where the fields are generated with javascript (js): <form method='GET' action='my-result'> <input type='text'...
  6. S

    RESOLVED snippet within snippet - passing variable not possible ?

    I understand now why it didn't work. Thank you so much, it works fine now !
  7. S

    RESOLVED snippet within snippet - passing variable not possible ?

    I have 2 snippets ---------- Snippet 'A' is an SQL query with following content: function generalQuery { global $wpdb; $sql_query = "SELECT * from my_table1"; } ----------- Snippet 'B' includes the content of Snippet A using 'do_shortcode' and writes out data from the database with following...