[PHP] Re: Copy database from MySQL to MSAccess

2003-09-01 Thread Leonie
That's how I'd do it anyway). Cheers Leonie "Kjell Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > I'd like to have a template DB stored with MySQL from which I later can > create clientDB's for use with MSAccess. >

[PHP] Notices - Variable not defined

2003-09-05 Thread Leonie
get rid of this annoying notice? Cheers Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Notices - Variable not defined

2003-09-05 Thread Leonie
Wow! That's service! Thank you. Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Planning a project with PHP.

2003-09-05 Thread Leonie
you will find what you are looking for there. Regards Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] function returning array

2003-09-07 Thread Leonie
How do I get a function to return an array? This code doesn't work: function getData() { return $theArray; } Any help on the syntax would be appreciated. Cheers Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function returning array

2003-09-07 Thread Leonie
Nothing. But it I run: function getData() { etc.. print_r ($theArray); return $theArray; } the data is definitely there. I should add that the function is within a class so it is like this: class excel_com { (all tested - it works well) function getData() { etc..

[PHP] Quickform - edit form

2005-03-09 Thread Leonie \(phpgroup\)
I've set up a form using Quickform. I've got it working a dream. My problem is at the moment it only adds records to the database. I would like to also have an edit form. I don't know what is easiest. Amend the existing form so it enters data and edits it, or have two different webpages. Also

Re: [PHP] Quickform - edit form

2005-03-09 Thread Leonie \(phpgroup\)
'year', 'Year:'); How do I add the value? Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quickform - edit form

2005-03-09 Thread Leonie \(phpgroup\)
m (Pear DB for database) to create the forms, passing it to a Smarty template. I'm just a bit stumped as to how to get the data into Quickform. Snippet of field creation: $form->addElement('text', 'year', 'Year:'); Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Quickform - edit form

2005-03-09 Thread Leonie \(phpgroup\)
Leonie wrote: I've set up a form using Quickform. I've got it working a dream. My problem is at the moment it only adds records to the database. I would like to also have an edit form. I don't know what is easiest. Amend the existing form so it enters data and edits it, or hav

[PHP] Re: Quickform - edit form

2005-03-09 Thread Leonie \(phpgroup\)
* FROM '.TBL_BOOK.' WHERE ID='.$_GET['id']; $res = $db->query($sql); $data = $res->fetchRow(DB_FETCHMODE_ASSOC); $form->setDefaults($data); } As long as the fields are named the same as the table columns, this works well. Thank you to

[PHP] PHP subscribe by email

2005-05-16 Thread Leonie \(phpgroup\)
Does anyone know of an open source script available in php to accomplish the following: A person sends an email to [EMAIL PROTECTED], the email address is saved to a mailing list. I have sendMail, Apache, PHP. Any ideas would be appreciated. Cheers Leonie -- PHP General Mailing List (http