Re: [PHP] Another problem with grids and checkboxes

2004-08-03 Thread Henri Marc
Hello, > > 1 > name="grid[1][1]" value="1" type="checkbox"> > > > [snip] > > 1 > name="grid[2][1]" value="1" type="checkbox"> > > > > Is there a reason you're sending a 1, 2 or 3 value > with the checkboxes? Well, I thought it was the good way to do. It helps me to

Re: [PHP] Another problem with grids and checkboxes

2004-07-31 Thread John Holmes
Henri Marc wrote: 1 [snip] 1 Is there a reason you're sending a 1, 2 or 3 value with the checkboxes? You already know what was checked by the keys of the $grid array. I'd leave it similar to how you have it, but just pass 1 for every value (since you won't be needin

[PHP] Another problem with grids and checkboxes

2004-07-31 Thread Henri Marc
Hello, I have another problem with my program. Again! Here it is: I have some grids. To make it simple, let's say I have two grids like this: 1 2 3 1 2 3 Each grid has 3 numbers, 1, 2 and 3. There is grid[1][

RE: [PHP] Another problem with mysql version coding

2003-04-05 Thread John W. Holmes
iginal Message- > From: NeXaS [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 05, 2003 10:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Another problem with mysql version coding > > Hey all, the next code i wrote is for deleting users who don`t login > for 60 days. This

[PHP] Another problem with mysql version coding

2003-04-05 Thread NeXaS
Hey all, the next code i wrote is for deleting users who don`t login for 60 days. This script should work under 4.x.x series of MySQL DB, but i have 3.x.x version. What should i change in this code that it should work on 3.x.x version of MySQL. ( time is given as a timestamp ( saved as time() in my

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile due to error.

2003-04-02 Thread Don
Yup, you were correct. the 7.10.3 rpm was installed but I forgot to install the 7.10.3 development rpm. I did so and all compiles fine now. Thanks, Don > My guess you have a mess in your curl library installation. For example > you use header from version 7.9.5 and specify that you have version

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile dueto error.

2003-04-02 Thread Marek Kilimajer
My guess you have a mess in your curl library installation. For example you use header from version 7.9.5 and specify that you have version 7.10.3. Find all libcurl.so and curl.h files on your system and check if they are really the version you think they are. You may try running rpm -V libcurl

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile due to error.

2003-04-01 Thread Don
Ok, that problem solved but now another one pops up when I run 'make'. Please note that it is complaining about code that came with the PHP tarball and I haven't changed anything. Below are the errors for your viewing (dis)pleasure. Any guidance would be appreciated. This isn't supposed to be so

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile dueto odderror.

2003-04-01 Thread Marek Kilimajer
Assuming you also installed ucd-snmp-devel-*.rpm, likely you need to specify --with-snmp=/usr or --with-snmp=/usr//include/ucd-snmp Don wrote: Ok, now that I've solved my 'curl' problem, I've run in to another problem. Now I am getting teh following error: "configure: error: snmp.h not found. Ch

[PHP] Another Problem installing PHP 4.3.1 - won't compile due to odderror.

2003-04-01 Thread Don
Ok, now that I've solved my 'curl' problem, I've run in to another problem. Now I am getting teh following error: "configure: error: snmp.h not found. Check your SNMP installation." I've installed the ucd-snmp rpms so what am I missing? Thanks, Don - Original Message - From: "Marek Kili

Re: [PHP] another problem with 4.3.0 : imagecreatefromjpeg undefined

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 23:22, Robert Mena wrote: > Hello again, > > another problem with 4.3.0. I have gd support but > after the upgrade my scripts started complaing : > > Fatal error: Call to undefined function: > imagecreatefromjpeg() > > My ./configure (the same used for ages). > > './config

[PHP] another problem with 4.3.0 : imagecreatefromjpeg undefined

2003-01-31 Thread Robert Mena
Hello again, another problem with 4.3.0. I have gd support but after the upgrade my scripts started complaing : Fatal error: Call to undefined function: imagecreatefromjpeg() My ./configure (the same used for ages). './configure' '--with-apxs' '--with-ttf' '--with-xml' '--with-gd' '--with-ftp'

RE: [PHP] Another problem with conditional statements

2002-12-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Beauford.2002 [mailto:[EMAIL PROTECTED]] > Sent: 20 December 2002 03:15 > > > Using switch would be more efficiant as it would stop once a > match is made > (if you use break), but with eleif statements each one is evaluated in > order. Not sure that's true

RE: [PHP] Another problem with conditional statements

2002-12-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Sean Malloy [mailto:[EMAIL PROTECTED]] > Sent: 20 December 2002 02:36 > To: PHP General > Subject: RE: [PHP] Another problem with conditional statements > > > Nowhere in the documentation does it specify switch should be > us

RE: [PHP] Another problem with conditional statements

2002-12-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Rick Emery [mailto:[EMAIL PROTECTED]] > Sent: 20 December 2002 00:34 > > switch() does not work that way. Switch uses the value in > the parentheses and selects a > CASE based upon that value. Read the manual. > > You will have to use a series of if()-elsei

RE: [PHP] Another problem with conditional statements

2002-12-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Beauford.2002 [mailto:[EMAIL PROTECTED]] > Sent: 20 December 2002 00:19 > > This should be as simple as breathing, but not today. I have > two variables > $a and $b which I need to compare in a switch statement in > several different > ways, but no matter wha

Re: [PHP] Another problem with conditional statements

2002-12-20 Thread Jason Wong
On Friday 20 December 2002 08:28, Sean Malloy wrote: > Its all wrong. You shouldn't be using a switch statement anyway. A switch > is for evaluating a single variable. You can use the switch construct in the context that the OP was using it. In fact I prefer use that instead of a whole bunch of i

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Jason Wong
On Friday 20 December 2002 08:19, Beauford.2002 wrote: > Hi, > > This should be as simple as breathing, but not today. I have two variables > $a and $b which I need to compare in a switch statement in several > different ways, but no matter what I do it's wrong. > > This is what I have tried, can s

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
|| $chr == "ê": $a = str_replace(substr($a,$i,1),"e",$a); break; } - Original Message - From: "Sean Malloy" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 9:36 PM Subject: RE: [PHP] Another problem

RE: [PHP] Another problem with conditional statements

2002-12-19 Thread Sean Malloy
7;help'): showHelp(); break; default : showDefault(); } > -Original Message- > From: Beauford.2002 [mailto:[EMAIL PROTECTED]] > Sent: Friday, 20 December 2002 12:46 PM > To: Rick Emery > Cc: PHP General > Subject: Re: [PHP] Another problem with conditional sta

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
ginal Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 7:33 PM Subject: Re: [PHP] Another problem with conditional statements > switch

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Rick Emery
al" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 6:19 PM Subject: [PHP] Another problem with conditional statements Hi, This should be as simple as breathing, but not today. I have two variables $a and $b which I need to compare in a switch statement in several different wa

RE: [PHP] Another problem with conditional statements

2002-12-19 Thread Sean Malloy
something else'; break; default: $blah = 'nothing'; } you evaluate a single variable, otherwise, you are stuck with using is/else statements > -Original Message- > From: Beauford.2002 [mailto:[EMAIL PROTECTED]] > Sent: Friday, 20 December 2002 11:19 AM > To: PHP

[PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
Hi, This should be as simple as breathing, but not today. I have two variables $a and $b which I need to compare in a switch statement in several different ways, but no matter what I do it's wrong. This is what I have tried, can someone tell me how it should be. TIA switch (true): case ($a

RE: [PHP] Another problem

2002-10-08 Thread Liam . Gibbs
<> No, I've got the text/ascii header in there. I have it send an HTML and a text version. Both look very different. The only problem with the text version is that there are no line breaks... Until it encounters a P tag. It's weird, but I have those completely stripped out, but the BR tags I have

RE: [PHP] Another problem

2002-10-08 Thread Jon Haworth
Hi Liam, > *sigh* They never stop. I know the feeling ;-) > For some reason, when I replace my tags with \n\r > and print the resulting line on-screen, it works. But > when I e-mail the lines, the \n\r seems to disappear I think it might be \r\n, not \n\r. The "works on-screen but not on

Re: [PHP] Another problem

2002-10-08 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: >For some reason, when I replace my tags with \n\r and print the > Do you mean \r\n (carriage return, line feed)? Is this a typo in your post or is it the problem? HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Another problem

2002-10-08 Thread Adam Voigt
You might be getting the emails in HTML mode, try adding "Content-type:text/ascii" to your extra headers section of the mail command. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-08 at 12:22, [EMAIL PROTECTED] wrote: > *sigh* They never stop. > > I have a series of lines that I put through a fu

[PHP] Another problem

2002-10-08 Thread Liam . Gibbs
*sigh* They never stop. I have a series of lines that I put through a function that strips tags and replaces them with their best string equivalents (bold tags turn into *s and such). For some reason, when I replace my tags with \n\r and print the resulting line on-screen, it works. But when I

Re: [PHP] another problem

2002-07-22 Thread Justin French
I would have started with a search on php.net for "hex" which would have showed you two functions, and numerous other links that i'm not going to read. dechex() and hexdec() seem to do it for numbers, and i'm sure you'll find what you need with some more looking. Justin French on 23/07/02 6:0

[PHP] another problem

2002-07-22 Thread Georgie Casey
well, i solved the last problem on my own but now i need help on my new one :-) how do you convert text to hexadecimal with PHP? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP

Re: [PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Joe Rice
you need ar. my solaris 8 install has it in /usr/ccs/bin if you have it there, make sure /usr/ccs/bin is in your PATH. if you need to know what package ar is part of let me know. joe Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300: > > Dear Friends: > > I have

[PHP] Another problem installing PHP under Solaris 8.0

2001-03-26 Thread Emiliano Marmonti
Dear Friends: I have had another problem, after succesfully find flex package installed in this machine and make a link to a folder that is included in PATH. After ./configure, after the message that PHP was configured OK, following the instructions I write: make. This is the error

[PHP] Another problem installing PHP under Solaris 8.0

2001-03-23 Thread Emiliano Marmonti
Dear Friends: I have had another problem, after succesfully find flex package installed in this machine and make a link to a folder that is included in PATH. After ./configure, after the message that PHP was configured OK, following the instructions I write: make. This is the error that ap