creating table for some engineering calculations

Codes here !

Moderators: egami, macek, gesf

Post Reply
ketanco
New php-forum User
New php-forum User
Posts: 10
Joined: Wed Apr 09, 2008 9:50 am

Mon Nov 06, 2017 3:03 pm

Hello,
I must make a table for some engineering calculations. i want to make some calculations based on the formulas. i will enter values into some calls and then i want results based on formulas.
based on this what data type i must make when i create my table?
is varchar both text and number? and what length i must specify for the data type if varchar is ok?
i am beginner level in mysql and php
my table should be nothing fancy, just the simplest is ok.

chorn
php-forum Fan User
php-forum Fan User
Posts: 562
Joined: Fri Apr 01, 2016 2:18 am

Tue Nov 07, 2017 2:11 am

implement the formulas in code. store the values in the database according to their type. just have a look in the documentation of your DBMS, e.g.

https://www.postgresql.org/docs/9.5/sta ... atype.html

Post Reply