> This is what the $_POST['selectedcontactlist'] looks like
>
> 121,17,97,123,243,52,138,114,172,170,64,49,60,256,176,244,201,42,95,4,
First question is why do you need to pass it through like that?
> it is not coming across as an array so the foreach is throwing an error
I assume it always ha
Chris wrote:
Richard Kurth wrote:
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figur
> Or you can do it straight from MySQL, which is a lot faster:
With the caveat that you need extra mysql permissions to be able to do that.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Chris wrote:
Richard Kurth wrote:
This script will create an xls file from the data that is sent to it
When I run this it only gets one recored and it is supposet to get all
the records that are past by the $_POST[selectedcontactlist]
I think I have a } in the wrong place but I can not figure i
Richard Kurth wrote:
>
> This script will create an xls file from the data that is sent to it
> When I run this it only gets one recored and it is supposet to get all
> the records that are past by the $_POST[selectedcontactlist]
> I think I have a } in the wrong place but I can not figure it out
Hi,
You could always do this within mysql itself. You also have the wrong output
header and what seems to be some quite inefficient code, anyway take a look
at the following.
SELECT order_id,product_name,qty
FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
6 matches
Mail list logo