pere roca wrote:
> hi everybody,
> there is a nice tool using jquery/php to populate multiple select boxes out
> there : http://remysharp.com/2007/09/18/auto-populate-multiple-select-boxes/
>
> it must be a very stupid question but I’m trying to apply this tool to get
> data from postgreSQL, but I
[EMAIL PROTECTED] wrote:
> Hello All,
>
> Is the a built-in PHP call that I am overlooking which lets me
> replace key values in an array.
>
>$inputArray = array(0 => array, 1 => array); (generated programtically)
>
>I want to end up with :
>
>$newArray = array('FAF1' => array,
On 05/12/2007, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> Cesar D. Rodas wrote:
>
> > Call exec is not good, because you are executing other program,
> > instead of that you should use some PHP program, take a look here
> >
> > http://www.phpclasses.org/search.html?words=tar&x=0&y=0&go_search=1
> >
On Dec 5, 2007 1:27 PM, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote:
> Well, I have two clients that both want mapping for their sales people.
> I have been looking at the Google API and Phoogle
> (www.systemsevendesigns.com/phoogle). I assume with these examples I
> will be able to produce what t
Well, I have two clients that both want mapping for their sales people.
I have been looking at the Google API and Phoogle
(www.systemsevendesigns.com/phoogle). I assume with these examples I
will be able to produce what they need? Which is to select several
addresses and produce a fastest route map
I forgot to CC the list, sorry.
Original Message
Subject: Re: [PHP] Maps
Date: Wed, 05 Dec 2007 20:25:06 +0100
From: Jochem Maas <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
Robert Fitzpatrick wrote:
> Well, I have two clients that both want mapping
[EMAIL PROTECTED] wrote:
> Quoting Jochem Maas <[EMAIL PROTECTED]>:
>
...
>>
>> $newArray = array('FAF1', 'ODM1', /* bla bla bla */);
>> $inputArray = array_combine($newArray, $inputArray);
>>
>> I guess reading through this page was too much trouble for you:
>>
>> http://php.net/array
>
Jochem,
Yes, that did the trick quite nicely.
As I said, I overlooked it... a function called array_combine did
not cause me to read the drill-down, because I figured it was for a
union of two arrays ( it is, kind of... ) and I wanted to replace key
values, not combine arrays : array_c
On Dec 5, 2007 6:09 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > There is not much "simple" about a calendar, especially when you start
> > dealing with recurring events. How far into the future your calendar
> > allow events to recur will depend at least in part on how you intend
> > to store
[EMAIL PROTECTED] wrote:
> Jochem,
>
> Yes, that did the trick quite nicely.
>
> As I said, I overlooked it... a function called array_combine did not
> cause me to read the drill-down, because I figured it was for a union of
> two arrays ( it is, kind of... ) and I wanted to replace key valu
Hello All,
Is the a built-in PHP call that I am overlooking which lets me
replace key values in an array.
$inputArray = array(0 => array, 1 => array); (generated programtically)
I want to end up with :
$newArray = array('FAF1' => array, 'ODM1' => array);
Thanks.
Scot L.
Al Rider wrote:
> The key word in my assertion "Make your code W3C compatible and it'll
> work on all modern browsers." is "modern". I've never had a browser
> incompatibly with IE7, Netscape browsers, etc.
very good. here in the real world IE6 still makes up a very significant number
of browser
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, December 05, 2007 1:00 PM
Subject: [PHP] Array numeric key -> alpha key replacement
Hello All,
Is the a built-in PHP call that I am overlooking which lets me
replace key values in an array.
$inputArray = ar
Quoting Jochem Maas <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
Hello All,
Is the a built-in PHP call that I am overlooking which lets me
replace key values in an array.
$inputArray = array(0 => array, 1 => array); (generated programtically)
I want to end up with :
$newArray
PHP version: 5.2.5 / Platform: Solaris 9 (SPARC) / Expat version: 1.95.8
The PHP manual's section on XML ( http://us2.php.net/manual/en/
ref.xml.php ) states that the "--with-expat-dir=DIR" option should be
used if you wish to use an external expat library. However, when I
attempted to do s
There is not much "simple" about a calendar, especially when you start
dealing with recurring events. How far into the future your calendar
allow events to recur will depend at least in part on how you intend
to store them. For instance, you can store them in a database where
you create a separate
hi everybody,
there is a nice tool using jquery/php to populate multiple select boxes out
there : http://remysharp.com/2007/09/18/auto-populate-multiple-select-boxes/
it must be a very stupid question but I’m trying to apply this tool to get
data from postgreSQL, but I always get an empty [] valu
Hi gang:
I'm entertaining how to determine what zip codes fall within a 50
mile radius of another zip code.
Anyone done this before?
Also, does anyone have any sources for zip codes and lat/long databases?
TIA for any help/suggestions.
Cheers,
tedd
--
---
http://sperling.com http://an
hate to say it,but there is lots on google like
http://www.code322.com/zipcode_locator.php
bastien> Date: Wed, 5 Dec 2007 20:58:52 -0500> To: php-general@lists.php.net>
From: [EMAIL PROTECTED]> Subject: [PHP] zip codes and lat/longs> > Hi gang:> >
I'm entertaining how to determine what zip c
Here's code I had, but it recently stopped working
It takes the zip code for the user and the user you're viewing, looks
them up from the data table (z_data_zips) and does the calculation.
The formula is in a handful of places - I converted mine from a MySQL
example (I think, or vice versa)
You c
Hi all,
Going to cut it short and to the point. Do most of you freelancers get
by with enough work that does not require front-end UI/design? Do you
find it easier to get more work when you're strengths in design are
just as creative as your programming capabilities?
These are questions I'm enter
Steve Finkelstein wrote:
Hi all,
Going to cut it short and to the point. Do most of you freelancers get
by with enough work that does not require front-end UI/design? Do you
find it easier to get more work when you're strengths in design are
just as creative as your programming capabilities?
Th
On Wed, 2007-12-05 at 23:33 -0500, Steve Finkelstein wrote:
> Basically what I'm asking is, am I going to be end up being a jack of
> all trades, master of none, if I continue pursuing design AND
> development? Is there plenty of work out there for folks who just
> stick to development?
>
It all
On Dec 5, 2007 11:33 PM, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
> Basically what I'm asking is, am I going to be end up being a jack of
> all trades, master of none, if I continue pursuing design AND
> development? Is there plenty of work out there for folks who just
> stick to development?
At 11:33 PM -0500 12/5/07, Steve Finkelstein wrote:
Hi all,
Going to cut it short and to the point. Do most of you freelancers get
by with enough work that does not require front-end UI/design? Do you
find it easier to get more work when you're strengths in design are
just as creative as your pr
I am trying to recursively send data to the same form. Based on the data, I
want to determine which "action" is to be processed. It appears that the
$_POST is not being cleared out or cached once it is sent to the server.
Here is my code that I'm trying to test with. It doesn't seem to
consi
I'm trying to
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hm. Tell me if this works:
';
else echo '';
?>
Pass
Fail
On Dec 5, 2007 9:30 PM, Mike Smith <[EMAIL PROTECTED]> wrote:
> I'm trying to
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey
--
PHP General Mailing Li
";
?>
>I am trying to recursively send data to the same form. Based on the data, I
>want to determine which "action" is to be processed. It appears that the
>$_POST is not being cleared out or cached once it is sent to the server.
>Here is my code that I'm trying to test with. It doesn't
Or try
";
?>
There are a 1000 and 1 ways to make the script smaller yet still produce the
same effect.
Remember there is no reason to declare the POST array for matching in this
particular setup. Some may disagree
Notice I added a error checking if the array is blank.
I am going to stop at t
';
?>
>:D
On Dec 5, 2007 11:35 PM, <[EMAIL PROTECTED]> wrote:
> Or try
>
> echo " == "")){echo "success.php";}ELSE{echo "recursive.php";}echo " METHOD='post'>";
> ?>
>
> There are a 1000 and 1 ways to make the script smaller yet still produce the
> same effect.
> Remember there is no reason to
hi,mike i suggest that you use Javascript to done this work. like this: ... function submitprocess(){var
pobj=document.getElementById("process");var
fobj=document.getElementById("form1");if (pobj.value=="pass"){
fobj.action="sucess.php";//change form1's action value return true;//submit the
32 matches
Mail list logo