List Active?
David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there everyone,
I have a system which dynamically creates a template based website which can
be turned on or off by a switch, to access it a user would do
http://www.websitename/templatename and then it would produce a 404 (NOT
look for a dir as this allows me to use a DB switch to enable
I've never used this before, just trying to figure it out. I've been reading
everyone's emails for the past months, so I guess this is my virgin breaking
entry :-) and I'm a newbie.
Thanks for your future help Patience
Josh Team
Very active!!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Miercoles, 11 de Enero de 2006 03:06 p.m.
To: php-db@lists.php.net
Subject: [PHP-DB] No posts in 36 hours??
List Active?
David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
I would suspect that you had a default template if there is no referer
?php
$template = default_template.php; //or whatever you use to call it
if (!empty($_SERVER['HTTP_REFERER'] )) $template = $_SERVER['HTTP_REFERER']
;
?
bastien
From: Chris Payne [EMAIL PROTECTED]
To:
On Thu, 12 Jan 2006 11:18, Miguel Guirao wrote:
Hi all,
I remember reading in a book that there is a function to import the
content of a CSV file into a MySQL table, am I alright? what is that
function?
Of course, the first option could be reading the CSV file line by line
and using
I remember reading in a book that there is a function to import the
content of a CSV file into a MySQL table, am I alright? what is that
function?
Of course, the first option could be reading the CSV file line by line
and using explode() to get each column value for each row.
I think LOAD DATA
with php, you could upload the file, then use fget_csv to pull the data in
and insert it into the table
bastien
From: Miguel Guirao [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Importing CSV into MySQL
Date: Wed, 11 Jan 2006 18:48:32 -0600
Hi all,
I remember reading in a