so basically i have a form which has an input type text for id and then i also have a input type text for name..
and then i also have a query in which it gets the matching name for that id.
sample : sql = "select name from names where id = '".$id."'";
how can i implement this concept in which, you can input the id and then the name of that corresponding id which automatically display...
User Profile
Collapse
-
help with ajax and javascript in php
-
mysql-php multiple slave/master replication
i have a mysql-php application that i would like to implement in a distributed concept, by using 3 laptops connected to the same wifi network, each has its own same database and the php aplication and when anyone of the 3 nodes does any changes through the php application the others will also be updated, so its like the data has been replicated.
any ideas on how i can implement this???thanks -
thanks so much.....it works great
Code:$(document).ready(function(){ $(".slidingDiv").hide(); $(".show_hide").show(); $('.show_hide').click(function(){ $('.slidingDiv').hide(1); $(this).nextAll().eq(1).show(); }); })
-
show/hide div one at a time JavaScript and jquery
so i have this code...that includes three buttons in each div, and i only want to show one div at a time. so when i click a div1, the other divs will not open and when div1 is currently is opened, when i click the div2, div1 will close and div2 is now the current div opened and so on..
is it possible that i will not create multiple functions for each div, and change my div class and button class will be retained as much as possible....??... -
-
passing values from child pop up window to parent window
can anyone help me, i have a php form and i have a view form which contains data in a table from the database.
what i am trying to do is that when i click the "List of Checks button" beside the text box check no. a pop up window will be displayed containing the data from the database(someho w i already managed to do that)
what i can't do is that i want to pass the value of the selected check no to be passed to the parent... -
can you give me a very simple example on how to do this??pls. im not really familiar yet on how ajax works, i would really appreciate it.Leave a comment:
-
auto complete textbox value from input of another texbox
i have a form which includes an id textbox and a name textbox.
how do i implement it when i will input a id which is integer and a corresponding name to that id in the databases automatically inputs in the name textbox as well?
i want to implement it in a oop approach so i have a class which will contain my function to query the database
and a have a form.php
and the action.php
can...
No activity results to display
Show More
Leave a comment: