On Monday 13 January 2003 06:23, Bruce Levick wrote:
[snip]
> The upload works great. But I need to pass the three variables created
> in the above code to a table "files" in the database.
>
> $fnme
> $fid
> $flctn
>
> Any ideas on how to incorporate an insertion method into the code
> above??
I
Hi,
I am trying to align the three values in the select combo box but it is
not working. The code is below :
for($nRow=0; $nRow < $nNumRows; $nRow++)
{
$aAns = pg_fetch_array($lResult, $nRow, PGSQL_ASSOC);
$JoinedValue = $aAns[location_code] . $aAns[section_code] .
$aA
Much simpler:
foreach ($arrText as $text)
{
print $text;
}
Use that code. Just add in your HTML tags and it will be much cleaner and
faster.
"Michael Conway" <[EMAIL PROTECTED]> wrote in message
news:!~!UENERkVCMDkAAQACABgAeI4MkiQKXEijmrrs5/EPIcKA
[EMAIL PROTECTED]
> I
I am using an array to return the contents of a file. The file root is
located on the db and the file content is correctly rendered using the
following code:
echo "\n\t" .
$arrText= file($row["description"]);
for ($i=0; $i$arrText[$i]");
}
Everything works fine except that the paragraph
Hi all,
I have a simple upload form.
/// upload.php ##
File to Upload:
//#
Which loads up a process page.
//## process.php ###
//
The upload works g
I've setup a form to submit data into my MySQL database and it appears
to
connect properly and whatnot but when I check to see that the data has
been
inserted properly using phpMyAdmin, the table refelcts a new row entry
but
the fields are empty. ???
I suspect this is a register_globals problem
does this have anything to do with register_globals being off. are you
using $_POST['var_name']? or $_GET['var_name']?
can you send some code?
jeff
"Jared
I've setup a form to submit data into my MySQL database and it appears to
connect properly and whatnot but when I check to see that the data has been
inserted properly using phpMyAdmin, the table refelcts a new row entry but
the fields are empty. ??? Anyone have this problem before?? Any help is
gr
It looks like the problems is because $date and $host are in different
tags. So if one is set, then the other won't be.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Dzung Nguyen
On Sun, 12 Jan 2003 14:58:36 -0500
"Michael Scappa" <[EMAIL PROTECTED]> wrote:
> I know this is a bit off topic, can anyone recommend a good php / oop
> book? I've been through php.net's library and nothing really on there.
> Thanks
I do Not a good book about OO&php, but a good site:
http://www.
I know this is a bit off topic, can anyone recommend a good php / oop book? I've been
through php.net's library and nothing really on there. Thanks
-Mike
Thanks for replying Adam,
I know how to trap an error and how to show errors in the document, what i
was aiming for is to build my own system of user-friendly errors into my
database layer of my server application to make the errors nicer, and wanted
to write myself an include file with nicer vers
Hello,
On 01/12/2003 09:21 AM, Nikos Gatsis wrote:
Does anybody knows how to send a mail through a php page using mail() function including an attachment file?
Just try this class that provides exactly what you need and more and is
very easy:
http://www.phpclasses.org/mimemessage
--
Regard
Dear Bayu,
Sunday, January 12, 2003, 10:27:50 AM, you wrote:
BS> it seem to me you didn't use session at all,
BS> so where is the session problem?
yup now I use seesion,here my script [hope you ca help me]
User ID atau Password yang anda masukkan tidak
benar "; }
else
{
echo " Welcome $
Take a look at http://phpmailer.sourceforge.net/ a very usefull php
class for sending e-mail including attachements.
Rene.
-Original Message-
From: Nikos Gatsis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 12, 2003 3:21 AM
To: PHP-mailist
Subject: [PHP-DB] - mail() with atachment
H
Hello list!
Does anybody knows how to send a mail through a php page using mail() function
including an attachment file?
Thanx
Nikos
> When I view on my web page, the $number value comes out fine, but the $name
> comes out as "Resource ID #x" where x is some number. Currently is says
> "Resource ID #6". I know the SQL syntax is right, I have tested it. But what
> is wrong here?
The mysql_query command returns a result set, not
Hello all,
I have the following code:
echo "\n";
echo "\n";
$sql2 = mysql_query("SELECT signature FROM event ORDER BY cid DESC
LIMIT 10");
while ($row = mysql_fetch_array($sql2)) {
// $cid_alert = $row["cid"];
$number = $row["signature"];
$n
18 matches
Mail list logo