[PHP] imagecopyresized problems

2002-09-07 Thread Brian Shannon Windsor
I'm trying to use imagecopyresized to generate a thumbnail image and then store the image in the proper place, but I'm running into some problems. I'm using the standard code: $src_img = imagecreatefromjpeg(../php/images/.$HTTP_POST_FILES['imagefile']['name']); if

[PHP] newbie question

2002-08-30 Thread Brian Shannon Windsor
How do I get PHP to automatically open another PHP page in a browser if a condition is met? I have a pull down HTML table that submits a form to a PHP script. That script then uses a little logic to figure out which web page to go to. I have 5 different pages, and each has different content.

[PHP] performing searches with random entries

2002-08-28 Thread Brian Shannon Windsor
I'm trying to take a variable in that would be usually 3 to 4 words (could be more or could be less). Right now, I'm exploding the variable and testing each individually, but this obviously is a pain with the more variables you get, and the result I get from the mysql search doesn't give me

[PHP] passing checkbox info

2002-08-20 Thread Brian Shannon Windsor
I'm trying to use checkboxes to be able to delete information from my database. It's just not working right. I can't get the checkbox form to pass a variable that makes any sense to me, and I looked into the check box function, and it made less sense. The value passed back from the check boxes

[PHP] newbie php image importing problems

2002-08-18 Thread Brian Shannon Windsor
Hello, I got some great help from this newsgroup a few days ago, and I'm 90% complete with my project, but I have one snag. I'm building a web page that allows a business to import pictures of their products and then display them on their page along ith other information. My problem is getting

[PHP] newbie PHP/HTML pull down menu problem

2002-08-13 Thread Brian Shannon Windsor
Hi, I want to pull information out of my mySQL database and use it as a pull down menu ona web page. There are two sets of information that I need, one is a color, and the other is the color_id, so I want to use it in the way below but without having to physically enter all the data. I'd like