So i am trying to type something in input box which i want to be dynamically stored in a variable. And then there is a hyperlink next to a table of records which will take this variable(.php?S=$inputboxvariable) and go to next php page which will execute a sql statement using this variable’s value.
I do not want for submission , _GET or _POST or even SESSION variable in this.
Please help. I know coding would help but i dont know how, just a basic code would suffice.
Thanks
Alright I get what your asking for now. The javascript below will make a call from your page to an external script (ajax/myscripthere.php) which will handle the SQL.
In the php script, we simply handle our SQL like we normally would if this was not an AJAX call.
Please accept answer if this is correct to your expectations 🙂
javascript:
PHP: