Re: autocomplete a field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philip!

congrats on being new to PHP... you'll find that PHP is very robust
'Server Side Scripting Language'... you'll probably want to subscribe
to the javascript mailing list for your javascript questions... the
people here want you to keep the questions on this mailing list
restricted to PHP.. also, the subscribers here would appreciate it if
you search the mailing list first, check the PHP manual and Google
before you post your question... it just keeps the repetative
questions to a minumum...

But, I would like to help you out... So, here is a couple of things to
look at... while most of these are pretty advance, they'll show you a
nice combination of javascript and PHP that will give you an auto
complete feature... since you didn't give any details about what info
you want to auto complete (ie users database... search terms) I will
just post to general info for you so you can see how other people are
accomplishing this

(1) You may want to do some reading about application architecture..
Google uses an architecture similar to the one described in the
article below.. the architecture is called AJAX,  XMLHttpRequest... or
what ever you want to call it... but there is some good examples here

http://www.adaptivepath.com/publications/essays/archives/000385.php

(2) this is a great tutorial using PHP and Javascript which references
a dictionary

http://www.developertutorials.com/tutorials/php/google-suggest-with-php-050525/page1.html

http://www.peej.co.uk/articles/rich-user-experience.html

Good luck & Have fun!
Joe



On 6/3/05, Philip Hallstrom <php@xxxxxxxxxxxxxxx> wrote:
> > Hi, I am new to php and I would like to find out if there's some kind of
> > a function that would autocomplete the word/value when the user is
> > trying to fill out a field in a form. Thank you.
> 
> This is a JavaScript issue, but that said...
> 
> http://www.pjkh.com/wiki/field_completion
> 
> Toot! Toot!
> 
> ;-)
> 
> I'm sure there are others as well.  If you need it to be more dynamic, try
> here:
> 
> http://developer.apple.com/internet/webcontent/xmlhttpreq.html
> http://jpspan.sourceforge.net/wiki/doku.php
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Joe Harman
---------
Do not go where the path may lead, go instead where there is no path
and leave a trail. - Ralph Waldo Emerson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux