Re: [PHP] Select values in an array???

2002-10-29 Thread John Nichel
name. Upon processing the form on submit, I do retrieve all selected values, not just the last. To check for yourself, open the link and view source. Yes, this page works... http://www.preferred-pet.com/volunteer/volunteer.php - Original Message - From: "John Nichel" <[EMAI

Re: [PHP] Select values in an array???

2002-10-29 Thread John Nichel
*raises glass* Happens to the best of us. You should have seen my confusion on a linux mailing list last night when I was trying to figure out bind9. :) Rick Emery wrote: Edwin, you are CORRECT. I had a brain-fart. I stand before you all, humbled Round of beer for everyone in the house che

Re: [PHP] searching an array

2002-10-29 Thread John Nichel
You could sort the values (ascending or descending), and select the first or last value (depending on how you sorted it). Davíð Örn Jóhannsson wrote: I have a array called $arr[], it holds integer values, I don’t know how many indexes it holds and I need to be able to find out what the hash ($ar

Re: [PHP] Checking for a string.

2002-10-29 Thread John Nichel
preg_match() [EMAIL PROTECTED] wrote: I'm currently writting a redirect script for my site which will transfer someone to either a external link or a directory on my server. In order to do this I need to use a directive that either contains the directory path or a URL. How do I check the contents

Re: [PHP] Re: .inc files doubles up

2002-10-29 Thread John Nichel
Do a little debugging. The error is easy to spot.. Ok, wrote the following code, but get a parse error line 74 (last part of the code): if (empty($navn) || empty($addresse) || empty($postnummer) || empty($sted) || empty($epost)) { include("head.inc"); } <--- GET RID OF THIS! if

Re: [PHP] Checking for a string.

2002-10-29 Thread John Nichel
g_match ("http", $path, $matches); if ($matches[0] = "http") { $action = "this action"; } else { $action = "that action"; } Thanks much, Ed On Tue, 29 Oct 2002, John Nichel wrote: preg_match() [EMAIL PROTECTED] wrote: I'm currently writtin

Re: [PHP] screen resolution

2002-10-29 Thread John Nichel
Try a JavaScript mailing list. - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 2:18 PM Subject: [PHP] screen resolution I am making some pictures for my website in photoshop. Is there anyway I can use php or html

[PHP] MySQL and images

2002-10-29 Thread John Meyer
Assuming that I have to for some unknown reason, are there any articles on storing images in the database and retrieving them? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL and images

2002-10-29 Thread John Meyer
to speed-up queries, it is suggested that you DO NOT store images in the database. Rather, store the images in files and store file names in the database. - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 29

[PHP] Form variables vs Sessions

2002-10-29 Thread John W
I am having a problem with a form system that I am developing. It is a multi page form with over a hundred different possible variables. The problem that I'm having is that when a user enters invalid data on one page and then submits to the next page I want that page to go back to the previous p

[PHP] array question

2002-10-30 Thread John Meyer
When retrieving an array from $_POST, which is the right way: $arrInterests = $_POST["interests[]"]; or $arrInterests = $_POST["interests"]; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] array question

2002-10-30 Thread John Meyer
ssage - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 10:29 AM Subject: [PHP] array question When retrieving an array from $_POST, which is the right way: $arrInterests = $_POST["interests[]"]; or $arrInterests =

Re: [PHP] Php web hosting

2002-10-30 Thread John Nichel
Wow, that's not bad. About half of what I pay (the $200 for the first year part). Do you use them? I'm with www.jtlnet.com right now, and am satisfied with their service, but for that kind of money, I'd switch if I didn't have to sacrifice service. Their site claims that they're using PHP 4

RE: [PHP] test

2002-10-30 Thread John Meyer
Do I get a cookie for passing this test? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess and mod rewrite.

2002-10-30 Thread John Nichel
.htaccess only works for the document root directory and below. You could try making a symbolic link to the directory in the document root (I don't know if this will work). Brendon G wrote: I was looking over a tutorial on Php builder on making search engine friendly sites. While i got the co

Re: [PHP] My mail have a problem!!

2002-10-31 Thread John Nichel
U *wonders if he should point out the obvious* joskey wrote: > My mail have a problem, I can receive this mail list, > but can send to it, who can tell me a better free mail which support pop3 and smtp? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-10-31 Thread John Wards
On Thursday 31 Oct 2002 3:00 pm, jianking wrote: > Who can tell me where I can get the cracked Zend Encoder 3.0 ? Are you a muppet? This list is run by the people who make Zend Encoder! FOOL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Changing the key

2002-10-31 Thread John Meyer
How do I change the key in an array without having a duplicate key=>$value? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using mysql_field_type to disginguish between a blob and a text field.

2002-10-31 Thread John Meyer
I've recently found out that mysql returns blob for both blobs and text fields. Now, how do I distinguish between the two? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SQL>Insert and recover the ID

2002-10-31 Thread John Meyer
use mysql_insert_id(). Much more reliable when and if you use the system with more than one person inserting at the same time. -Original Message- From: Christian Ista [mailto:mailing-list@;istasofts.com] Sent: Thursday, October 31, 2002 2:12 PM To: [EMAIL PROTECTED] Subject: [PHP] SQL>Ins

Re: [PHP] Form Question

2002-10-31 Thread John Nichel
Try this