Humm.. in the form action you use a function called tpl();

What function is that, I find no reference of it on the php.net function list.


----- Original Message ----- From: ""Norland, Martin"" <[EMAIL PROTECTED]>
Newsgroups: php.db
To: <php-db@lists.php.net>
Sent: Friday, September 30, 2005 3:36 PM
Subject: RE: [PHP-DB] PHP Forms - upload VS text


<form action="<?php tpl($_SERVER['REQUEST_URI']) ?>" method="post"
enctype="multipart/form-data">

Beyond that it's just the $_FILES array and $_POST array.

cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257

The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Rui Cruz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 8:18 AM
To: php-db@lists.php.net
Subject: [PHP-DB] PHP Forms - upload VS text. .

Hi, I'm a fairlly experienced developer but there's something that just
really gets to me...

I can:

   - Use a form to upload a file or files
   - Use a form to write text to whaever is needed (DB, e-mail
contents,
etc...)

but I CAN'T

   - Use the same form to do both.

I've tried so many diferent things and never got my scripts to upload a
file
and insert data to a DB.

I find it dificult to accept this. Is this normal or am I doing things
wrong? Could anyone shed some light on this issue please?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to