How would I download any new files on a remote machine to my local one (in a
specific folder) via ftp?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got a nested array below that I'm having some trouble simplyfing.
Here is an example of how the array is now:
Array
(
[0] => Array
(
[0] => 2003-06-10 17:00:00
[1] => 9054.89
)
[1] => Array
(
[0] => 2003-06-10 17:00:00
How would I take the results of the following MySQL statement and put it
into an array as follows?
SELECT * FROM numbers WHERE type=`1`;
SELECT * FROM numbers WHERE type=`2`;
$example_data = array(
array("1",25,8),
array("2",10,8)
);
All the results of type=`1` would be in the first nested arr
I've built a CSV parser that I want to run on every file in a folder. How
do I do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When using something like this:
LOAD DATA LOCAL INFILE '/tmp/phpKBjUWb' INTO TABLE `indoma` FIELDS
TERMINATED BY ',' LINES TERMINATED BY '\r\n'
How do I also insert a field not in the CSV. For example there are 8 fields
in the CSV and 9 in the table. I want the ninth field to be the name of the
How do i remove an element of an array by its key? I've tried
array_s(p)lice to no avail. Either it chops too much or too little with
seemingly no logic. The array is of unkown and variable size if that makes
a difference. Thanks, John.
--
PHP General Mailing List (http://www.php.net/)
To u
I have an array exampled below. I want to remove and use certain nested
arrays from the larger array where the key == title, size, day, etc... How
does an idiot like myself accomplish this?
Array
(
[0] => Array
(
[0] => title
[1] => by Month for Melvin
How would I calculate if a $number is a multiple of $spacer?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo