HELE Database in XLS
Door Roeltje M, 19 jaar geleden, 41.973x bekeken
Op verzoek van enkelen ben ik vandaag even verder gaan knutselen. het is een vervolg op linkje.
Voorbeeld: http://www.design-xtr.nl/scripts/XLS/sqlxls_test.php
Gesponsorde koppelingen
PHP script bestanden
Er zijn 14 reacties op 'Hele database in xls'
Gesponsorde koppelingen
ERROR'S
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /www/back-up/functions.php:15) in /www/back-up/functions.php on line 112
Warning: Cannot modify header information - headers already sent by (output started at /www/back-up/functions.php:15) in /www/back-up/functions.php on line 113
Database PHPHULPXLS geconverteerd naar .xls door Roel Moser -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : --
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Notice: Undefined index: Tables_in_PhphulpXLS in /www/back-up/functions.php on line 15
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 31
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/back-up/functions.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /www/back-up/functions.php:15) in /www/back-up/functions.php on line 112
Warning: Cannot modify header information - headers already sent by (output started at /www/back-up/functions.php:15) in /www/back-up/functions.php on line 113
Database PHPHULPXLS geconverteerd naar .xls door Roel Moser -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : --
@ Loran, dit krijg ik ook
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: Cannot modify header information - headers already sent by (output started at K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php:47) in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 113
Warning: Cannot modify header information - headers already sent by (output started at K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php:47) in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 114
Database PARADOX_PRODUCTIONS geconverteerd naar .xls door Roel Moser -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : --
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: mysql_list_fields() [function.mysql-list-fields]: Unable to save MySQL query result in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 30
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 32
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 47
Warning: Cannot modify header information - headers already sent by (output started at K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php:47) in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 113
Warning: Cannot modify header information - headers already sent by (output started at K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php:47) in K:\PARADOX-PRODUCTIONS.NET\Root\xmlgenerator.php on line 114
Database PARADOX_PRODUCTIONS geconverteerd naar .xls door Roel Moser -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : -- -- TABEL : --
Dan mag je me uitleggen waarom. Als je dit wilt integreren in een grotere applicatie is het gebruik van classes een must. Laat PDO dan nu net een mooi standaard voorbeeld zijn.
Verder als je echt uitvoer wilt hebben in xls formaat kijk dan eens naar PHPExcel Dan krijg je daadwerkelijke xls uitvoer. Je kunt dan ook voor elke tabel een nieuwe sheet maken.
Dit is gewoon een verkapte vorm van een .csv
Verder als je echt uitvoer wilt hebben in xls formaat kijk dan eens naar PHPExcel Dan krijg je daadwerkelijke xls uitvoer. Je kunt dan ook voor elke tabel een nieuwe sheet maken.
Dit is gewoon een verkapte vorm van een .csv
@TJVB met PHPExcel krijg je OOXML bestandje; das 2007 en minder intressant. Met Java kan je echt XLS bestandjes maken http://poi.apache.org/. Op de langer termijn is PHPExcel wel intressant.
Zeker, voor implementatie in een groter geheel is PDO uitstekend toe te passen hier. Echter, je moet je ook afvragen voor wat voor groep dit is. De PDO'ers zullen dit zeker wel snel zelf in elkaar kunnen knutselen. Voor de hobbyist is dit gewoon leuk en handig om er even bij te hebben.
Een eventuele PDO versie zou wel als linkje erbij kunnen staan naar mijn idee.
Een eventuele PDO versie zou wel als linkje erbij kunnen staan naar mijn idee.
Om te reageren heb je een account nodig en je moet ingelogd zijn.
Inhoudsopgave
Labels
- Geen tags toegevoegd.
PHP hulp
0 seconden vanaf nu