This is a discussion on "postcode finder" within the PHP Forum section. This forum, and the thread "postcode finder are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
postcode finder
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
postcode finder
Trying to setup a simple postcode search in a site.
Basically, I want the user to enter their postcode into a form which then will check to see if that area is available. Eg: User enters : fa21 2e3 I want to check if the fa21 matchesa list of postcode which range from fa1 to fa39. How is this possible? thanks |
|
|
|
||||
|
Re: postcode finder
Form:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: postcode finder
How would that check if it was available?
You'd need a database and you'd want to get it to check against the database.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
Re: postcode finder
i have got a databse with lots of postcode, however how do i query on a few?
thanks guys |
|
||||
|
Re: postcode finder
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: postcode finder
ok so i've got this far, but i must be mixing up the variable, can some tell me what i'm doing wrong
Quote:
Last edited by alexgeek; Feb 27th, 2008 at 20:35. |
|
||||
|
Re: postcode finder
Also this:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: postcode finder
1st prob was just a mistake when i was taking out my database pw, etc.
fixed the 2nd one but still no joy, thought it was a connection problem but tested database with another script and it worked fine these lines seem to be throwing up the probs Quote:
|
|
||||
|
Re: postcode finder
Supposed to be:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: postcode finder
fixed the last 2 probs but still having truble connecting, really strange
|
|
||||
|
Re: postcode finder
Post errors.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: postcode finder
just foubd out that the database i was accessing was incomplete and have had to re-think (temp) my plans, tryin to ue your origional script alex but no matter what postcode i enter it always comes back saying no?
|
|
|||
|
Re: postcode finder
sorted, was case sensitive!! doh, easy fix. cheers again Alex
|
|
||||
|
Re: postcode finder
Glad you have that sorted
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| postcode and name search box | geoffmuskett | PHP Forum | 4 | Feb 27th, 2007 11:43 |
| Postcode CSV | ocean | Web Page Design | 3 | Oct 11th, 2006 20:03 |