javascript - Interrogation on DB with PHP textarea -


hi guys want query on db (i use mysql) gived input textarea , want show resurts, tried :

    <textarea id="area"rows="4" cols="50" name="query" form="form1">     </textarea>     <input type="submit"onclick="take()"value="do"> 

this js function

    function take() {      var query = document.getelementbyid("area").value ; 

then use php function show table result

function stamp($query){  $result = mysqli_query($globals['conn'], $query); // stamp $result ecc...} 

can me fixate , have advice stamp function ? ty


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -