Login   Register  
PHP Classes
elePHPant
Icontem

Install Question

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Quick CSV import  >  All threads  >  Install Question  >  (Un) Subscribe thread alerts  
Subject:Install Question
Summary:Need assistance with installing this software please
Messages:2
Author:Rick
Date:2008-03-13 01:07:42
Update:2012-12-28 04:21:56
 

  1. Install Question   Reply  
Picture of Rick
Rick
2008-03-13 01:07:42
I have just written a couple php pages that use data binding, but I'm pretty new to php.

From what I see in the instructions, to get the program installed on a basic level I just need to:

"- establish connection with MySQL database and select database;"
"- define CSV filename to import from."

1. Where do I specify the connection information (i.e what file and where)? I have the connection information from another php page that I wrote.

2. Where do I specify the CSV file name and path (i.e. what file and where)

I missed where to place this information. I would really appreciate if someone could let me know these two things.

  2. Re: Install Question   Reply  
Picture of Diego Robles Rivera
Diego Robles Rivera
2012-12-28 04:21:56 - In reply to message 1 from Rick
the conextion sets in

mysql_connect("localhost", "root", "trifuerza");
mysql_select_db("clases"); //your database

at the top of Quick_CSV_import_example.php file

and the path it set whe you select a file in the main interface.