[PHP-DB] mysql_connect()

2002-02-12 Thread Martin Allan Jensen
Hi all. once again i need help... I tried a lot of stuff but my server (linux) (php 4.0.6) won't use the mysql_connect() command..?? Anyone else have an solution for the problem..?? Kind regards Martin Allan Jensen

[PHP-DB] mysql_connect()

2002-02-12 Thread Martin Allan Jensen
x27;t find the problem by myself...! Kind regards Martin Allan Jensen

[PHP-DB] mysql_connect() and phpmyadmin

2002-02-12 Thread Martin Allan Jensen
I just don't understand why phpmyadmin works with it when i can't call it.! I did try with "localhost" but it won't still work.. PLEASE help i just can't understand it Kind regards Martin -----Original Message- From: Martin Allan Jensen [

[PHP-DB] php, DB and arrays

2002-11-09 Thread Martin Allan Jensen
Hi evryonei have a problem that i hope you can help me with. Here it goes! I have two arrays returned from my DB one called "y" adn one called "v" Togeather they hold a year(Y) and a value(V) The return from the DB looks like this: v: 10 20 40 60 320 780 890 920 y: 2002 2002 2002 2002 200

[PHP-DB] php array max value pr. year

2002-11-11 Thread Martin Allan Jensen
turn this out of the earlier menchent array : (Arrays) Y: 2002 2003 V: 320 920 So much thanks peoplei tried now for two days and i just can't come up with anything... P.S. Sorry for my bad english! Martin Allan Jensen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] arrays & db

2002-11-11 Thread Martin Allan Jensen
have lets say 20 yeas 2002 (the registration year called "aflaest" in the table) and lets say two 2003. I only need ONE value "vaerdi" per year, witch is the one it just calculated in a loop. But it have all the values and years in the array. How do i only take ONE value per ye

[PHP-DB] array sorting

2002-11-12 Thread Martin Allan Jensen
50 [3] => 80 [4] => 130 [5] => 220 [6] => 320 [7] => 440 [8] => 570 ) [2] => ) I ain't good at it, but i guess this is a two dimesioned array... The question is now, i need to get the highest values of each "sub" array witch would be 320 & 570 in THIS C

[PHP-DB] Arrays again

2002-11-13 Thread Martin Allan Jensen
27;re able to help me... FIRST im a totally jerk to ARRAYS THANKS !!! Regards Martin Allan Jensen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Arrays again again

2002-11-13 Thread Martin Allan Jensen
Sorry fellers Allready figured it outsorrynow i see that the question was foolish Anyway now i need help with something else... I now have some values: 320 - 250 - 290 - 100 And years that fits to them: 2002 - 2003 - 2004 - 2005 How can i put these dynamic values in a arra

[PHP-DB] standart variabels melfunction

2002-11-19 Thread Martin Allan Jensen
string. But when i call: print($_GET[mode]); I get the real output... I tried to walk troug the hole php.ini & the httpd.conf file, but nothing came up, so i relly hope that you can help me out here...! Sorry if it's a little off topic.. And THANKS A LOT!! Regards Martin Allan Jensen

[PHP-DB] arrays

2002-11-21 Thread Martin Allan Jensen
Hi everyone, I have a problem sorting my data, I have an array with a flush of values and years from a mysql database. When i have all the values i need php to only print the values, and then group it by year souch that if i had an array that looked like this: Array([2002] => "20",[2002] => "40

[PHP-DB] Assign a variable with another variables value

2002-12-01 Thread Martin Allan Jensen
$foo. THANKS A LOT!!! Regards, Martin Allan Jensen

[PHP-DB] mysql select last year

2002-12-05 Thread Martin Allan Jensen
for each of them. But how can i check if there is for example a year for id 11 that is < than 2002 Thanks a LOT! Regards, Martin Allan Jensen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] adding in array

2002-12-10 Thread Martin Allan Jensen
ould be a good idea, then add it and put it into an array again so i can flush the output, but i'm really bad at array (and english) so i really hope that you will help me. I hope you get it, Thanks A lot for your help !! BEST Regards, Martin Allan Jensen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] RE: adding in arrays

2002-12-10 Thread Martin Allan Jensen
IT WORKS!!! Really GJ...! But, now i need to make another loop where it takes the key [2000] and put's it into $year and takes the value 300 and put it into $value Can you help me with it, am really not good at arrays. Array ( [2000] => 300 [2002] => 740 [2003] => 200 [2004] => 150 [2005] =

[PHP-DB] flytte bsd harddisk til anden pc

2002-12-12 Thread Martin Allan Jensen
Hej Allesammen, har et strt problem, jeg skal IDAG skifte server, men kan jeg bare tage mine harddiske med FreeBSD på og smide over i den nye maskine og så vil det køre eller

[PHP-DB] more values in a array

2003-01-04 Thread Martin Allan Jensen
1002002 P 2 2002002 A 3 3002002 P 4 4002002 A I hope you understand my bad english and that you can help me... Thanks a lot just for reading this! Regards, Martin Allan Jensen -- PHP Database Mailing List (http://www.php.net/) To unsu