[PHP-DB] Adding Up MySQL 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-DB] last insert ID

2005-01-02 Thread Nathan Mealey
I used pg_last_oid() I got some crazy number that was definitely not the last primary key ID. Thanks, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 01061-1482 [EMAIL PROTECTED] (413) 210-7984 (512) 681-7043 Fax -- PHP Database Mailing List (http

[PHP-DB] Redhat-MySQL Issues

2004-12-20 Thread Nathan Mealey
the following error message: Fatal error: Call to undefined function: mysql_connect() All I changed in the PHP.ini was the include path. What could have happened? I am so in the dark on how to fix this! Thanks, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA

[PHP-DB] 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-DB] PDFLib

2004-04-05 Thread Nathan Mealey
of the viewable page (as you can imagine). If anyone has any ideas or experience with this, that'd be super. -- 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 Database Mailing