Hi all
First of all i m still new 2 php so please help me out.
I am makin an small shipping system using php and i want to make it so that when people submit zipcode the form should only submit the first two digits instead of whole thing or on the next page php should edit it so there r only first two digits of zipcode remain.
Is there a command that will make it so that when i use sql quary it only uses first 2 digits of the whole zipcode.

Could use as much help as i can

Thanks
Ash :lol:

Recommended Answers

All 2 Replies

Thanks a lot that really helped. :cheesy:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.