t was budgeted for this
this script.. so I really want to avoid anything but the most newbie
of hacks to achieve this.)
//PHP Version 4.3.9
thank you for any reply!
John Butler (Govinda)
govinda.webdnat...@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
rom your commentary.
----
John Butler (Govinda)
govinda.webdnat...@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
}
["2009-08-07"]=>
array(3) {
["t7solar_landing"]=>
string(1) "2"
["aweber_7solar_aw"]=>
string(1) "1"
["aweber_7solar_confirm"]=>
string(1) "1"
}
["2009-08-06"]=>
array(3) {
["aweber_7solar_confirm"]=>
string(1) "5"
["t7solar_landing"]=>
string(1) "6"
["aweber_7solar_aw"]=>
string(1) "3"
}
["2009-08-05"]=>
array(3) {
["aweber_7solar_confirm"]=>
string(1) "1"
["t7solar_landing"]=>
string(1) "3"
["aweber_7solar_aw"]=>
string(1) "4"
}
...
John Butler (Govinda)
govinda.webdnat...@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It seems clear to me, but do you also agree that my evidence is that
array_slice() does NOT work on multi-dimmed arrays on v.4.3.9?
Here is the evidence:
this:
var_dump($BuildPerUniqueDateArray);
echo"\n\n~\n\n";
array_slice($BuildPerUniqueDateArray, 1, 2);
var_dump($BuildPerUniqueDa
It is annoying working with arrays sometimes, as some functions work
on
the actual array, while others return the results of working on the
array without changing anything. Is there any particular reason for
that?
...you mean what are the reasons for the different ways the arrays work?
Then y
.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 this correct?
(Both sites reside on servers where I am not the admin.)
John Butler (Govinda)
govinda.webdnat...@gmail.com
--
PHP General Ma
nual/en/function.filter-input.php
The filter_* functions are only available in core since 5.2.0, though.
OK, ..good to plant seeds, but since that server is PHP 4.3, I'll save
my brain now for until I can actually integrate that study.
John Butler (Govinda)
govinda.webdnat...@gmail.com
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,
If you switch it around you'll get a notice because the IF evaluates
from left to right. So you just want to make sure you check isset()
first.
This would throw a notice:
if($_POST['UserWishesDateRange'] == 'T' &&
isset($_POST['UserWishesDateRange'])) {
Aha! That must be what I tried a
If you switch it around you'll get a notice because the IF evaluates
from left to right. So you just want to make sure you check isset()
first.
This would throw a notice:
if($_POST['UserWishesDateRange'] == 'T' &&
isset($_POST['UserWishesDateRange'])) {
Aha! That must be what I tried and
On Aug 10, 2009, at 3:43 PM, Jim Lucas wrote:
Allen McCabe wrote:
I am creating an order form for tickets for a list of performances
at a
performing arts center.
Currently, the form is on paper, and is set up as follows:
-Nutcracker - Tues 10/13 - 11am - $4.00
Thanks for letting us know
inish creating the array and it's embedded
arrays, in your code, then add this:
var_dump($shows); //--so you can see what you just created. If it
looks right, THEN go on bothering to try and parse it with your
(embedded) foreach's {
--------
John Butler (Govinda)
govinda.webdn
quick Q:
I have this inside a foreach{} that I want to alternate between on
and off so I can alternate the background-color of my 's.
$tableRowBGcolorBoolCounter != $tableRowBGcolorBoolCounter; //-boolean
on and off
I am looking thru' docs and books, but can't remember (nor find now)
in
I did this, and got my arrays dumped (on one line). After adding
line returns, here is a snippet:
it looks OK. Note that you can see (copy/paste) that array which you
just dumped, much better, if you view the source code of the html
page. OR you can use to make that format persist thr
= !
!
=)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using the print function to display my html. I cannot get the
line return ( \n ) character to actually push the html onto the next
line, it just gets displayed instead. Should I be using echo?
Allen, you off and running again?
echo "blah.. \n"; //<-- this will print the literal 'blah
echo "something " . (($a = $a^1) ? "red\n" : "green\n");
Re: The "?" char in this line above..
where in the php docs can I read about what that is doing?
I have not come across this construct before today, from you guys.
thanks
-John
--
PHP General Mailing List (http://www.php.net/)
To u
What a lot of good ideas spawned from the OP!
I am learning many things,.. while also actually working (paying
bills), so I regularly have to just go with what I know well.
Anyway, I already have the forearch { loop (for other reasons it is
necessary), and I only needed one color to alternat
Allen, you off and running again?
Sure am, thanks, on to the next set of issues. Seems like
programming is always moving on from one error to the next :)
Currently, I am having trouble with echo and php line-returns.
It works on one part of the code, but not on another (instead,
prints it
What a lot of good ideas spawned from the OP!
I am learning many things,.. while also actually working (paying
bills), so I regularly have to just go with what I know well.
Anyway, I already have the forearch { loop (for other reasons it is
necessary), and I only needed one color to alternat
He's pointing out a typo... "forearch" instead of "foreach" :)
LOL!
I almost always miss the jokes.
Thanks for the smiley face to get my (lighter) attention ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
21 matches
Mail list logo