-----------------------SQL
code--------------------------------------------------------
-- Host: localhost
-- Generation Time: Mar 30, 2006 at 02:28 AM
-- Server version: 5.0.18
-- PHP Version: 5.1.1
--
-- Database: `project`
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`Name` varchar(12) collate latin1_general_ci NOT NULL,
`Valueprice1` varchar(4) collate latin1_general_ci NOT NULL,
`Valueprice2` varchar(4) collate latin1_general_ci NOT NULL,
`Sums` varchar(4) collate latin1_general_ci NOT NULL,
PRIMARY KEY (`Name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` VALUES ('name1', '23', '45', '2');
INSERT INTO `orders` VALUES ('name2', '23', '67', '2');
INSERT INTO `orders` VALUES ('name3', '76', '23', '12');
---------------------------------------- Now
questions------------------------------------------------
how can i sum and display on the page of the values total in
valueprice1 and valueprice2
so looking at it on a webpage it would say valueprice1= 122
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/