// #php — 2008-01-15
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
00:08:42 Quit: MedNez ([email protected]) Ping timeout for MedNez
00:14:34 Join: drexen ([email protected]) to #php
00:14:36 Mode: (by ChanOp) +v drexen
00:45:55 Quit: optimus ([email protected]) Exit: Sleep? Oh boy! That's where I'm a viking!
00:48:52 Join: ALPAY-ist ([email protected]) to #php
01:20:25 Quit: ALPAY-ist ([email protected]) Exit: � Www.Kelebek.Org Mutlaka Download Edin! KELEBEK ScripT v4.3 ProfessinaL irc.kelebek.org �y wToprak �
01:23:07 Quit: drexen ([email protected]) Exit:
01:27:22 Join: drexen ([email protected]) to #php
01:27:22 Mode: (by ChanOp) +v drexen
01:56:41 Quit: drexen ([email protected]) Exit: bbl
05:19:15 Quit: keenly ([email protected]) Read error to keenly: Operation timed out
06:15:22 Join: edwardo ([email protected]) to #php
07:35:37 Join: teranoid ([email protected]) to #php
09:20:26 Join: schnoowork ([email protected]) to #php
11:32:31 Quit: Carson ([email protected]) Ping timeout for Carson
11:42:18 Join: Carson ([email protected]) to #php
13:33:23 Quit: edwardo ([email protected]) Ping timeout for edwardo
15:32:26 Join: sndoggy ([email protected]) to #php
15:33:41 Join: susp3k4t ([email protected]) to #php
17:27:39 Quit: schnoowork ([email protected]) Exit:
17:58:46 Quit: teq ([email protected]) Read error to teq: Connection reset by peer
18:10:05 Join: teq ([email protected]) to #php
18:57:16 Quit: Lish ([email protected]) Exit: Lish has no reason
18:59:03 Join: keenly ([email protected]) to #PHP
19:02:32 Join: optimus ([email protected]) to #PHP
20:17:24 Quit: eyecue ([email protected]) Exit: Austnet Chat Network
20:34:15 Join: milliato ([email protected]) to #php
20:34:57 <milliato> hi dudes. im trying to create a script that will dump a whole table and present it in a excel file, same way phpmyadmin does when you go to export. Any ideas where to begin?
20:46:36 Join: MedNez ([email protected]) to #php
21:23:39 <kryten> dumping to csv which can be opened in excel is much easier
21:25:16 <kryten> you can mysql_fetch_array to an array and implode the array with a comma (,)
21:25:33 <kryten> then out each row seperated with a crlf
21:28:56 * Retrieving #php modes...
21:30:02 <milliato> i figured it out using a script
21:30:07 <milliato> it works !
21:30:17 <milliato> but i need the first line (the table headings) in bold
21:30:26 <milliato> here is where it writes the excel file
21:30:28 <milliato> for ($i = 0; $i < mysql_num_fields($result); $i++)
21:30:47 <milliato> { echo mysql_field_name($result,$i) . "t";
21:31:01 <milliato> }
21:31:08 <milliato> any idea how to make it bold
21:31:44 <kryten> you can't do it if you are outputting to a csv.. it would have to be encoded as an .xls file
21:31:49 <kryten> i do not know how to do that
21:35:14 Join: josh ([email protected]) to #php
22:30:09 Quit: MedNez ([email protected]) Exit: MedNez
22:41:42 Join: drexen ([email protected]) to #php
22:41:43 Mode: (by ChanOp) +v drexen
23:32:37 Quit: sndoggy ([email protected]) Exit: Austnet Chat Network
23:48:03 Quit: optimus ([email protected]) Exit: Sleep? Oh boy! That's where I'm a viking!
23:56:47 Quit: josh ([email protected]) Read error to josh: EOF from client
Search this day's buffer:
