Re: [PHP-DB] csv problem.. read csv from var

2007-02-16 Thread Martin Alterisio
2007/2/16, bedul <[EMAIL PROTECTED]>: i have problem with reading csv.. for i know the example script i get was BASIC SCRIPT= $handle = fopen("hasillab.csv", "r"); $data2=$handle; while($data = fgetcsv($handle, 1000, ",")){ foreach($data as $str) $data2.

[PHP-DB] mysql_real_escape_string

2007-02-16 Thread Ron Piggott
I am creating a form where I am using $web_site_# for the various fields. At the present time there are 11 fields I am asking the user to key in. I am wondering if there is a slick way to use the mysql_real_escape_string command with this so $web_site_1 = mysql_real_escape_string($web_site_1)

Re: [PHP-DB] csv problem.. read csv from var

2007-02-16 Thread Niel Archer
Hi sorry, I misunderstood your problem, it was not too clear to me as the code you list shouldn't produce the output you supplied. try this: $array = explode(',', $csv); print "= " . $array[0] . "\n"; print "= " . $array[1] . "\n"; for ($i = 2; $i < count($array); ++$i) { $txt.= "=" . $array[

Re: [PHP-DB] Problem with ocilogon

2007-02-16 Thread roy . a . jones
Here are a couple of things I have done ... 1) Edit the apachectl script and set the variables there 2) Set the variables in your shell then start apache 3) use phpinfo() to display your settings (I also found the below php script to work well) <-> "; //Start an out

Re: [PHP-DB] Problem with ocilogon

2007-02-16 Thread Dominik Helle
Brad Bonkoski schrieb: Dominik Helle wrote: Hi, I've a problem with php-oci and I hope anybody can help me. I want to connect with ocilogon to an Oracle Database. If i call my php-Script in the browser, this error message turn up: Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() f

Re: [PHP-DB] Problem with ocilogon

2007-02-16 Thread Brad Bonkoski
Dominik Helle wrote: Hi, I've a problem with php-oci and I hope anybody can help me. I want to connect with ocilogon to an Oracle Database. If i call my php-Script in the browser, this error message turn up: Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is somethi

[PHP-DB] Problem with ocilogon

2007-02-16 Thread Dominik Helle
Hi, I've a problem with php-oci and I hope anybody can help me. I want to connect with ocilogon to an Oracle Database. If i call my php-Script in the browser, this error message turn up: Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your sys

RE: [PHP-DB] echo delay...

2007-02-16 Thread Bastien Koert
I would suggest placing all the data into divs and using some js to show those divs when the time is right bastien From: "Matthew Ferry" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] echo delay... Date: Fri, 16 Feb 2007 03:37:17 -0500 Hi fellow php late night peoples Thanks for everyone's

[PHP-DB] echo delay...

2007-02-16 Thread Matthew Ferry
Hi fellow php late night peoples Thanks for everyone's help the last couple of days... I have learned so much. The best way to learn this stuff...is simple trial and error... and thanks for good old Ggle! My problem tonight is very simple. I just don't know what command I want to use.

Re: [PHP-DB] csv problem.. read csv from var

2007-02-16 Thread bedul
- Original Message - From: "Niel Archer" <[EMAIL PROTECTED]> To: Sent: Friday, February 16, 2007 1:59 PM Subject: Re: [PHP-DB] csv problem.. read csv from var > hi > > > the problem i have is.. how about the csv is a var > > DATA=== > > $csv=" > > A50