homepage Welcome to WebmasterWorld Guest from 50.17.86.12
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Menu that populates upon letter being entered.
adamnichols45

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4101584 posted 5:35 pm on Mar 20, 2010 (gmt 0)

I think the title explains it quite well but I dont think php is capable of doing this but I could be wrong.


registration form> type in city > user enters "ca" and before they can finish I want to suggest california etc.

This is the start of a new website which is going to be massive and if successfull could hold as many as
150,000 visitors details.

its a database driven site and the load will be heavey.

is php the way to go with this? work is being outsourced but I would also want to read up on the chosen code.

thanks guys.

 

Matthew1980

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4101584 posted 5:38 pm on Mar 20, 2010 (gmt 0)

Hi there adamnichols45,

Sounds like a ajax/xml job to me, I think as it would be called a suggestions script, and I think that js would be in the mix too from what I see on most of these types of sites.

Cheers,
MRb

adamnichols45

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4101584 posted 8:20 pm on Mar 20, 2010 (gmt 0)

great thanks is that something that has to be hardcoded in? never touched ajax im afraid.

Should I get a coder or maybe there is a script I can purchase somewhere?

Matthew1980

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4101584 posted 8:31 pm on Mar 20, 2010 (gmt 0)

Hi there adamnichols45,

A quick google search using "ajax suggestion" returnd among others this:

<snip>

Have a look and see what you come up with, I personally haven't used it yet, but I ought to look into it ;-p

If you don't want to, there are plenty of people out there who would do a script for you, I'm sure that someone on here could recommend something, but If you choose to give it a go, It would no doubt pay dividends in the future.

Enjoy the learning anyway.

Cheers,
MRb

[edited by: dreamcatcher at 12:57 am (utc) on Mar 21, 2010]
[edit reason] no urls please, see T.O.S [/edit]

adamnichols45

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4101584 posted 8:33 pm on Mar 20, 2010 (gmt 0)

Thanks matthew.

I do like getting stuck into a book so might have alook into the ajax. Is it that difficult?

Matthew1980

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4101584 posted 9:01 pm on Mar 20, 2010 (gmt 0)

Hi there adamnichols45,

Personally speaking, and I don't mean to sound condescending, but start off with the smaller stuff:-

[w3schools.com ]

I have only tried a couple of things, but the basics seem to be here, and there are plenty of books available:-

[amazon.co.uk ]

This seems expensive, but you see where I'm going ;-p

As regards difficulty, this is something that's down to the individual, I can't answer for you. A lot of people that I know that do it say that it is as easy/straightforward to comprehend, but once again, the alkaline test wouldn't be the same from one to the next person, pardon the analogy but you see what I mean.

You've got me thinking about it now, I know that used in conjunction with div's and that you can call things statically from a database without having to refresh the page, so the benefits are good. Personally I like the ajax captcha & comments/blog style applications.

All the best with whatever you decide.

Cheers,
MRb

dreamcatcher

WebmasterWorld Senior Member dreamcatcher us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4101584 posted 1:01 am on Mar 21, 2010 (gmt 0)

Matthew1980, sorry, had to remove the one link you posted. We do not allow links to personal sites.

adamnichols45, you`ll find a few free code snippets for auto complete. Try searching for 'JQuery auto complete', that should get you started. Its actually very simple to integrate.

Good luck.

dc

adamnichols45

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4101584 posted 1:12 pm on Mar 21, 2010 (gmt 0)

I found a great tutorial and ajax does look pretty awsome.

I am out sourcing some coding work but I would like to get to grips with it my self as well so I will take alook at the amazon link.

Many thanks especially matthew very helpful.

Matthew1980

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4101584 posted 2:45 pm on Mar 21, 2010 (gmt 0)

Hi there adamnichols45,

Well I hope that you enjoy learning the new syntax, I really should try and do it, I would love an ajax captcha on some of my stuff, but I am of the theory, "if it ain't broken don't fix it", but then again, if we all thought like this nothing new would ever get done ;-p Guess I'm just a bit lazy...

And I should have looked at the first link more closely, didn't realise at the time of posting that is was considered a bad link to post...

Have fun anyway,

Cheers,
MRb

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved