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
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
You should be asking these questions on a MySQL list...
DELETE FROM table WHERE laikas < NOW() - INTERVAL 60 DAY AND admin != 1
Works on MySQL 3 and 4.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original M
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
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
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
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
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
> -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
> -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
> -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
> -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
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
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
|| $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
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
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
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()-elseif()-else()
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Its all wrong. You shouldn't be using a switch statement anyway. A switch is
for evaluating a single variable.
alss, your code if ($a && $b == 124) is the equivelent of writing if ($a ==
true && $b == 124).
if ($a == $b)
{
// do struff
}
elseif ( ($a == 124) && ($b == 124) )
{
//do stuff
}
elsei
<>
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
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
[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
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
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
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
25 matches
Mail list logo