[PHP] Adding up query results

2005-01-15 Thread Nathan Mealey
29.99 I want to display the sum of the values in the first column (450.00+29.99), but I cannot figure out how to do this! Can someone clue me in? Thanks a million, Nathan -- Nathan Mealey Website Manager & Administrative Director Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 010

[PHP] Mysql Connect Help

2004-11-21 Thread Nathan Mealey
rning. Thanks for any help, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 01061-1482 [EMAIL PROTECTED] (413) 587-3133 (413) 210-7984 Mobile (512) 681-7043 Fax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Upload Problem

2004-10-20 Thread Nathan Mealey
move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpibRXhc' to '/articles_store/case_for_base.pdf' in /usr/local/www/data-dist/cycle-smart/www/Articles/admin/ articleinsert.php on line 50 Any help is very, very much appreciated. NM -- Nathan Meale

[PHP] Array?

2004-08-25 Thread Nathan Mealey
mail."' and password='".$pass."'"; $results = mysql_query($q); if ($results) { while ($list=mysql_fetch_assoc($results)) { $things[]=$list; } } //$things[7] is a MySQL timestamp column named "last_login" $date = strtotime($things[7]); Thanks

[PHP] FPDF Help

2004-04-15 Thread Nathan Mealey
n at 1.5 cm from bottom $this->SetY(-15); //Arial italic 8 $this->SetFont('Arial','I',8); //Page number $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); } $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->Add

[PHP] Using PDFLib

2004-04-04 Thread Nathan Mealey
pdf); header("Content-type: application/pdf"); header("Content-Length: ".strlen($buffer)); header("Content-Disposition: inline; filename=sample.pdf"); echo $buffer ?> Thanks! -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 0106