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.
>
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
Wow! That's service! Thank you.
Leonie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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..
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
'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
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
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
* 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
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
12 matches
Mail list logo