Nvisible Posted November 12, 2009 Share Posted November 12, 2009 Sorry guys if this comes out really butchered. I have just started learning php and may have bit off more then I can chew. I need to create a simple text area where some one can type in there Zip code and click search. There will be a database of acceptable zip codes if a correct zip code is entered it will take them to a static page. there is going to be several different pages based on different zip codes. if some one has entered a zip code that is not in the database it will take them to a completely different page. Thought about a php mysql script however again real new to this would the php handle where to redirect based on zip or the database and with the zip codes that are not in the database I am guessing php would handle all of that. But like I said took on more then I can chew. I want to learn how to do it so any help would be great even pointing me in the right direction to a tutorial etc. Thanks Link to comment https://forums.phpfreaks.com/topic/181191-php-script/ Share on other sites More sharing options...
monkeytooth Posted November 12, 2009 Share Posted November 12, 2009 well, if your working with a database its safe to assume that its most likely mysql, so with that you will have to device a php script to query the database, pull out the information there is to pull based on your query and desired results if any, then have the php script filter the results, and redirect according. PHP wont redirect but you can phase html and java through it to handle a redirect or include a page via php with the info.. theres a number of ways you can handle it. All depends on what and how you want to.. If any of this makes sense for you. Try not to think of static pages, try to think of dynamic pages. also, its easier to pull everything together like pieces of a puzzle then make static pages for everything, Link to comment https://forums.phpfreaks.com/topic/181191-php-script/#findComment-955902 Share on other sites More sharing options...
Nvisible Posted November 12, 2009 Author Share Posted November 12, 2009 See we just stepped into a whole world I knew I was not ready for. So quick question and then I guess I am out. If I were to hire some one to do this how long would it take them. and was is the average per hour on something like this. I just want to make sure I don't get robbed. Plus when they are done I can make a copy of it to tear it down and figure it all out I guess. Thanks for the Input Link to comment https://forums.phpfreaks.com/topic/181191-php-script/#findComment-955903 Share on other sites More sharing options...
monkeytooth Posted November 12, 2009 Share Posted November 12, 2009 Most coders I know sub out for about 15-20 an hour for hourly projects.. but depending on the full scope of what your attempting to do you may want to request a flat rate, no hourly stuff.. Again depending on what you want to do, the DB shouldnt take long to set up as far as the zip codes themselves go cause there are zipcode databases out there ready for use, the only part that may throw it off is what is and how is the zip code being used if found.. and how someone may have to set that up to work with the database search, as there is a ton of zipcodes to work with and you said every one of them is going to require a unique page. Won't lie to you considering the size of a zipcode database you could be looking at several days to complete the database end of things. Then a couple more pending on what you want done with the results.. Could cost a couple hundred dollars. You can find dirt cheap coders out there but keep in mind more so than less you do get what you pay for when it comes to coders. If you want to email me a full spec of what your doing Ill be glad to give you an estimate time frame and cost. [email protected] (even if you find someone else it could give you an idea of what you may be looking to spend) Link to comment https://forums.phpfreaks.com/topic/181191-php-script/#findComment-955907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.