How would I go about taking a 6 field CSV and inserting each row into a
MySQL DB?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for the multiple post!! Apparently when pasting I hit some magic send
key.I'd like to calculate the largest member of this array without taking
into
account the first value which is obvisouly not numeric.
So far this is how I'm doing it, but sometimes I get returned a month for
the max.
$hi
I'd like to calculate the largest member of this array without taking into
account the first value which is obvisouly not numeric.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What would the best way to rotate text 90 degrees? Using php's image
generator? Some fancy HTML I don't know about? Or something else?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to write a function that manipulates each piece of data in an array
(except for the first). Right now I'm using list as follows from this
array:
$cdata = array(
array("Apr-03",12747.17,23486.55,319062.24,257828.73,0.00),
array("Sep-02",12379.46,10246.92,482295.71,618131.35,14.99)
);
forea
How would i find the value of the largest number in this array?
$example_data = array(
array("Mar-99",100,2000,5945.33,1234,10),
array("Feb-99",908,3454,4764.90,4321,50),
array("Jan-99",542,8000,13365.52,6012,60)
);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hmph, just not quite doing the trick... If you'd be so kind here is the
complete source to give you a little bigger picture. As you can probably
see the point of the script is to generate a bar chart of the array.
Thanks so much for the help, let me know what you think!
-John
Untitled Docume
Where the heck is my problem? No matter what the value for *_color is
always 1!!!
$example_data = array(
array("Mar-99",100,2000,5945.33,1234,10),
array("Feb-99",908,3454,47648.90,4321,50),
array("Jan-99",542,8000,13365.52,6012,60)
);
$high = 47648.90;
if(!isset($num))
{
$num = 1;
}
whi
I need some information about an array structured as follows:
$example_data = array(
array("Mar-99",0,0,5945.33,0),
array("Feb-99",0,0,47648.90,0),
array("Jan-99",0,0,13365.52,0)
);
I need to know the largest number in the array.
I need to know how many sets of numbers there are, ie how many comma
I've got an array in the following format:
Array ( [Jan-1999] => 36.04,140.35,319.53,324.07 [Feb-1999] =>
1.78,71.78,320.58,141.97 )
I need it in the following format:
$example_data = array(
array("Feb-1999",1.78,71.78,320.58,141.97),
array("Jan-1999",36.04,140.35,319.53,324.07)
);
I'm su
I'm new to working with complex arrays/objects and need a little help.
Below is the array I need to convert to a different type of array. The
"begin what i have" section is data I've succesfully mined from an XML file.
The data labeled "desired output" is how I need the data to be formatted.
How d
uot;',
> '".addslashes($title)."',
> '".addslashes($date)."',
> '".addslashes($directory)."',
> '".addslashes($image)."' )";
> $result=mysql_query($query);
>
I'm just learning PHP so please excuse my ignorance. I'm trying to extract
the data from a simply formatted text file via a simple PHP script. The
goal of this project is to take Magic the Gathering spoiler lists and dump
them into a MySQL database. I've got plenty of experience with MySQL but
n
Any ideas on why this won't work? It will only include("inc/entrance.php")
It never, no matter what the value of $mode, displays collection.php.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've downloaded the 4.0.6 to 4.1.1 patch but how do i install it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I limit the number of decimal places returned in this query?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
16 matches
Mail list logo