Search found 6 matches

by jphamac
Fri Oct 14, 2005 10:51 am
Forum: PHP - Code
Topic: php simple math problem
Replies: 4
Views: 336

ok, I got it to works with:


Code: Select all

$c_query="SELECT * FROM authuser
WHERE zip >= $a 
AND zip <= $b
ORDER by city ASC";
by jphamac
Fri Oct 14, 2005 10:09 am
Forum: PHP - Code
Topic: php simple math problem
Replies: 4
Views: 336

Buddha443556

no... I'm still getting the same results.


thank you for your help. I don't know if this makes a difference but the 'zip' column in the db table is 'char'
by jphamac
Fri Oct 14, 2005 8:39 am
Forum: PHP - Code
Topic: php simple math problem
Replies: 4
Views: 336

php simple math problem

I have a "search by zipcode" form. when a visitor types in a zip code, it gets the range of 100 higher and 100 lower. Everything works good except when i use a zipcode with a zero in front. So when i type in '01423' the result of the search: 14301, 14253, 14201 Please help. Here's the code...
by jphamac
Wed Sep 28, 2005 10:27 pm
Forum: Regex
Topic: regex image tag
Replies: 5
Views: 4119

Scara, thanks you so much. you've been so helpful! :D
by jphamac
Tue Sep 27, 2005 8:26 pm
Forum: Regex
Topic: regex image tag
Replies: 5
Views: 4119

Thanks you so much for helping me out! That's exactly what i wanted. I originally wanted to get the image size and size it down proportionally but i don't know how to extract just the url of the image so that i can do a imagesize() on it. How do you extract just the image's location? Your code is pe...
by jphamac
Mon Sep 26, 2005 12:25 am
Forum: Regex
Topic: regex image tag
Replies: 5
Views: 4119

regex image tag

I want to post images on my blog but don not want to break the table. I need a code that searches through my string to find image tags, then finds the size of that image. Then it checks if the image is too big and resize it down. I don't need the image to be physically resized but instead just have ...