--- sam_sjc_2k4 <[EMAIL PROTECTED]> wrote:

>  I'm working on registration frm..whr i've  a text box  to enter user
> ID and beside tht i put a button to check  the availability of that
> username in my database. My problem is how can i take the text box
> data and submit to the php script. I'm able to access the
> data(username) by using JavaScript but could not able to post
> that(usrname) to the PHP script.
> 
> Pls hlp in this regard.
> 
> thanks,
> Danny. 

Since the PHP code to generate the page is all done executing by the time it
reaches the browser, you will have to use something like Javascript to achieve
the result you want.  I'm surprised that AJAX was not already suggested since
it is the new trendy way to work with this.

Depending on what sort of data you need to get back, you could also use the
Javascript and a hidden iFrame element.

James
http://www.ITeachPHP.com
http://www.Keeline.com



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to