You are also probably using PHPMyAdmin, if not you should be using this.
Exporting to CVS is fairly simple, and if your used to quering the databsae
you should be able to do this very easilly yourself if your looking for a
sollution you can do from scripts.

Basically what you do is simply do a "select * from table", which will give
you
every coloumn of the database, Thereafter loop through the entire dataset
and use the mysql_fetch_array function, then use this :

foreach ($temp AS $key=>$value){
 // $key   = coloumn name
 // $temp[$key]  = coloumn value
 if(!is_numeric($key))
 echo $key . " : " . $temp[$key] . "<br>";
}

Where $temp is the $temp = mysql_fetch_array($dataset_from_query);

If your into >100.000 entries in the database you will need to do some
smart quering, or alter the php.ini to handle more than the standard 30
sec timout. Basically you could also go in "rounds" of limit 0,50000
thereafter
limit 50000,50000 but that wasnt your question.

--
--
Kim Steinhaug
----------------------------------------------------------------------
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
----------------------------------------------------------------------
www.steinhaug.com - www.easywebshop.no - www.webkitpro.com
----------------------------------------------------------------------

"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can anyone point me to an existing script or tutorial to learn this?
>
> Thanks in advance!
>
> d

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to