[PHP] Adding up query results

2005-01-15 Thread Nathan Mealey
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 01061-1482 [EMAIL PROTECTED

[PHP] Mysql Connect Help

2004-11-21 Thread Nathan Mealey
-- 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
-uploaded-file'function.move-uploaded-file/a]: 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 Mealey Director

[PHP] Array?

2004-08-25 Thread Nathan Mealey
.'; $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 in advance, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box

[PHP] FPDF Help

2004-04-15 Thread Nathan Mealey
); //Page number $this-Cell(0,10,'Page '.$this-PageNo().'/{nb}',0,0,'C'); } $pdf=new PDF(); $pdf-AliasNbPages(); $pdf-AddPage(); $pdf-SetFont('Times','',12); for($i=1;$i=40;$i++) { $pdf-Cell(0,10,'Printing line number '.$i,0,1); } $pdf-Output(); } Nathan Mealey Director of Operations

[PHP] Using PDFLib

2004-04-04 Thread Nathan Mealey
($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 01061-1482 [EMAIL PROTECTED] (413) 587-3133 (413) 210-7984 Mobile (512) 681-7043 Fax -- PHP General Mailing List (http