unable to fetch value?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NEHAFRIENDSPR
    New Member
    • Mar 2007
    • 1

    unable to fetch value?

    Hello,
    when i am inputing the contact details from the user first of all i am accepting cid and displaying the related cname in txtbox.
    where i should write select query and on which event

    please help me.............
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    If you are planing not to Put a Submit button along with the cid text box, You Have to go for Ajax. You can create JS function for to fire on onkeyup event of the text input. then from PHP side you can fetch the Values and Silently you can send it back to the first page cname text input box or any id location. :)

    or if there is a Submit button to cid text input box use a form with $PHP_SELF execute to echo the values in the CName text box. ;)

    Comment

    Working...