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 |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
||||
|
||||
|
Re: postcode finder
Form:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
||||
|
||||
|
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)
|
|
#4
|
|||
|
|||
|
Re: postcode finder
i have got a databse with lots of postcode, however how do i query on a few?
thanks guys |
|
#5
|
||||
|
||||
|
Re: postcode finder
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
Re: postcode finder
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#8
|
||||
|
||||
|
Re: postcode finder
Also this:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#9
|
|||
|
|||
|
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:
|
|
#10
|
||||
|
||||
|
Re: postcode finder
Supposed to be:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#11
|
|||
|
|||
|
Re: postcode finder
fixed the last 2 probs but still having truble connecting, really strange
|
|
#12
|
||||
|
||||
|
Re: postcode finder
Post errors.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#13
|
|||
|
|||
|
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?
|
|
#14
|
|||
|
|||
|
Re: postcode finder
sorted, was case sensitive!! doh, easy fix. cheers again Alex
|
|
#15
|
||||
|
||||
|
Re: postcode finder
Haha.. Yeah.. PHP is case-senSitIvE
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#16
|
||||
|
||||
|
Re: postcode finder
Glad you have that sorted
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|