if(isset($_POST['UserWishesDateRange']) &&
$_POST['UserWishesDateRange']
== 'T') {
Thought I tried that. Apparently not exactly; it works now! Thanks.
I know it is clunky but I wanted to see how compact it could be done.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
John Butler wrote:
>> http://us3.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
>>
>
> Thank you guys for the isset() heads up. And Ben, for this good
> explanation of error reporting!
>
>> As others have pointed out, it's a good idea to call isset() on a
>> POST-variable befo
On Sunday 09 August 2009 02:47:37 pm Parham Doustdar wrote:
> Hi there,
> I've heard of frameworks, but I don't quite know what they are used for.
> I've done a little search on the internet, but even though I've been able
> to find different PHP frameworks, I'm not quite sure what they offer, or i
http://us3.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
Thank you guys for the isset() heads up. And Ben, for this good
explanation of error reporting!
As others have pointed out, it's a good idea to call isset() on a
POST-variable before trying to get at its value. Th
On Aug 9, 2009, at 7:43 PM, John Butler
wrote:
Hi sunday coders,
I've been using this kind of logic on one PHP site I work on to
display one thing or another depending on whether the form was
submitted or not:
and it works great on that site.
But on another site it still works
Bastien
Sent from my iPod
--
Bastien
Cat, the other other white meat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> But on another site it still works, but gives this error:
> Notice: Undefined index: UserWishesDateRange in
> /home/vs/site/phvs/bl/7solarsecrets/admin/trackingcode.html on line 79
>
> I assume that is because the error display settings are set to a more
> rigorous level in this latter site.
> Is
John Butler wrote:
> if($_POST['UserWishesDateRange']) { //--line 79
> echo'submitted';
> } else {
> echo'NOT submitted';
> }
Try this instead:
if (isset('UserWishesDateRange'])) {
// [...stuff goes here...]
}
James
--
"Black holes are where
On Aug 9, 2009, at 16:43, John Butler wrote:
Hi sunday coders,
I've been using this kind of logic on one PHP site I work on to
display one thing or another depending on whether the form was
submitted or not:
if($_POST['UserWishesDateRange']) { //--line 79
Hi sunday coders,
I've been using this kind of logic on one PHP site I work on to
display one thing or another depending on whether the form was
submitted or not:
if($_POST['UserWishesDateRange']) { //--line 79
echo'submitted';
} els
> > $pattern = '|^.+?display:none.+?$|mi';
[8<]
> I found your use of ? rather... creative... Anyway, just add the
You mean the non-greedy flag? I think that's necessary the way the
regex was originally formulated -- without it, ".+display" would
gobble up all of the list-items until the last one
I should mention that I use MyISAM as storage engine what makes it even more
wiered.
"Nisse Engström" wrote in message
news:91.f7.55947.dc74f...@pb1.pair.com...
> On Sun, 9 Aug 2009 20:17:15 +0200, "Ralph Deffke" wrote:
>
> > I'm facing the fact that it seems that auto_increment fields in a tabl
this is a very good startup for the issue. now the question is where does it
get the value if there is no max(ai) or when I do an insert in an empty
table with the ai field set to 1 where does the innoDB get the next ai value
10720 ?
I assume that the SELECT MAX(ai_col) FROM t FOR UPDATE; return i
On Sun, Aug 9, 2009 at 6:33 PM, tedd wrote:
> At 1:05 PM +0100 8/9/09, Ashley Sheridan wrote:
>>
>> On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
>>
>> > But, as it was said, IE's have problems with first-child rules.
>>>
>>
>> How does IE8 fare with selectors in CSS?
>>
>> Thanks,
>> Ash
>
> ted
I would like to have a KNOWN status of my database after a NEW installation
of the application, because the further installation relais on information
stored in record 1 of each table.
"tedd" wrote in message
news:p06240801c6a4fe331...@[192.168.1.100]...
> At 8:17 PM +0200 8/9/09, Ralph Deffke wr
At 1:05 PM +0100 8/9/09, Ashley Sheridan wrote:
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
> But, as it was said, IE's have problems with first-child rules.
How does IE8 fare with selectors in CSS?
Thanks,
Ash
tedd = clue--
or
tedd < clue
tedd
--
---
http://sperling.com http
At 8:17 PM +0200 8/9/09, Ralph Deffke wrote:
Hi all,
I'm facing the fact that it seems that auto_increment fields in a table not
start at 1 like it was in earlier versions even if I install mySQL brand new
creating all tables new. it seems to me that auto_increments handling has
changed to older
On Sun, 9 Aug 2009 20:17:15 +0200, "Ralph Deffke" wrote:
> I'm facing the fact that it seems that auto_increment fields in a table not
> start at 1 like it was in earlier versions even if I install mySQL brand new
> creating all tables new. it seems to me that auto_increments handling has
> change
On Sun, Aug 9, 2009 at 15:03, Jerry Wilborn wrote:
> You seem nice.
I have my moments.
--
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig
--
PHP General
no this is not the point ! if I do this, the next auto_increment is still
10720
i can do what I want however the field is defined "long unsigned unique
auto_increment", what happens is in t1 the value is set to 10720 in t2 the
next value ist set to 10721 while the next record in t1 gets 10722
Mattias Thorslund wrote:
Robert Cummings wrote:
Matic Meznar wrote:
Hi,
When running a PHP script from CLI, does APC optimize it before
execution, or does APC only provide the apc_*() functions when runing
in CLI mode?
If I recall correctly, none of the accelerators work in CLI mode.
The
no this is not the point ! if I do this, the next auto_increment is still
10720
i can do what I want however the is defined long unsigned unique
auto_increment, what happens is in t1 the value is set to 10720 in t2 the
next value ist set to 10721 while the next record in t1 gets 10721.
it seems li
Robert Cummings wrote:
Matic Meznar wrote:
Hi,
When running a PHP script from CLI, does APC optimize it before
execution, or does APC only provide the apc_*() functions when runing
in CLI mode?
If I recall correctly, none of the accelerators work in CLI mode.
There is a php.ini setting n
You seem nice.
Jerry Wilborn
jerrywilb...@gmail.com
On Sun, Aug 9, 2009 at 12:54 PM, Daniel Brown wrote:
> On Sat, Aug 8, 2009 at 11:08, Jerry Wilborn wrote:
> > You're going to have to be more
> > specific. There are very few problems where this is absolutely no
> solution.
>
> And you're
ALTER TABLE T1 AUTO_INCREMENT=1;
It's likely that you dropped every record and expected the auto_increment to
reset.
Jerry Wilborn
jerrywilb...@gmail.com
On Sun, Aug 9, 2009 at 1:17 PM, Ralph Deffke wrote:
> Hi all,
>
> I'm facing the fact that it seems that auto_increment fields in a table no
Hi all,
I'm facing the fact that it seems that auto_increment fields in a table not
start at 1 like it was in earlier versions even if I install mySQL brand new
creating all tables new. it seems to me that auto_increments handling has
changed to older version. is somebody out there who can give me
On Sat, Aug 8, 2009 at 11:08, Jerry Wilborn wrote:
> You're going to have to be more
> specific. There are very few problems where this is absolutely no solution.
And you're going to have to read what he said again and understand
the context of the question and answer. It requires no more sp
On Sun, Aug 9, 2009 at 9:29 AM, Sudheer
Satyanarayana wrote:
> Michael A. Peters wrote:
>>
>> Ralph Deffke wrote:
>>>
>>> good question !! I think the word "framework" is modern fashion term in
>>> the
>>> first case. in former days we used to say "library" C comes with a
>>> standard
>>> library,
Michael A. Peters wrote:
Ralph Deffke wrote:
good question !! I think the word "framework" is modern fashion term
in the
first case. in former days we used to say "library" C comes with a
standard
library, in modern words C comes with a standard framework. I use my own
framework, means I reuse
""Parham Doustdar"" wrote in message
news:5c.b0.05105.f18be...@pb1.pair.com...
> Hi there,
I> I've heard of frameworks, but I don't quite know what they are used for.
> I've done a little search on the internet, but even though I've been able
> to find different PHP frameworks, I'm not quite sur
Ralph Deffke wrote:
good question !! I think the word "framework" is modern fashion term in the
first case. in former days we used to say "library" C comes with a standard
library, in modern words C comes with a standard framework. I use my own
framework, means I reuse my code written for similar
good question !! I think the word "framework" is modern fashion term in the
first case. in former days we used to say "library" C comes with a standard
library, in modern words C comes with a standard framework. I use my own
framework, means I reuse my code written for similar things before, so I u
On Sun, 2009-08-09 at 07:55 -0400, tedd wrote:
> At 10:54 AM +1000 8/9/09, Clancy wrote:
> >On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
> > >Also, if you use first-child, it could be taken down to:
> >>
> >>
> >>
> >> Yanni Nx
> >> Sally Riordan Sc
At 10:54 AM +1000 8/9/09, Clancy wrote:
On Sat, 8 Aug 2009 07:53:42 -0400, tedd.sperl...@gmail.com (tedd) wrote:
>Also, if you use first-child, it could be taken down to:
Yanni Nx
Sally Riordan Scholarship, 2007-
Except that line 2 is smaller than line 1. In my sche
Hi there,
I've heard of frameworks, but I don't quite know what they are used for. I've
done a little search on the internet, but even though I've been able to find
different PHP frameworks, I'm not quite sure what they offer, or in what they
differ, or why I shouldn't just use PHP as it is.
Can
At 9:00 AM -0400 8/7/09, Bob McConnell wrote:
From: Ralph Deffke
however there are some reasonable reasons to store a
image in the database.
1. if u have no access to write files to the disk this
is the case in most free hosting services they give u
php and mysql and thats it
2. if u want
Matic Meznar wrote:
Hi,
When running a PHP script from CLI, does APC optimize it before execution,
or does APC only provide the apc_*() functions when runing in CLI mode?
If I recall correctly, none of the accelerators work in CLI mode.
Cheers,
Rob.
--
http://www.interjinn.com
Application an
Hi,
> Looks like XMLRPC to me.
Agreed - it's not gibberish so it can't be SOAP...
--
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 8th August)
Lots of PHP and Javascript code - http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hi,
When running a PHP script from CLI, does APC optimize it before execution,
or does APC only provide the apc_*() functions when runing in CLI mode?
Happy day,
Matic
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
39 matches
Mail list logo