Code Based Data Entry

A

Anonymous

Guest
I'm trying to simplify/speed up data entry by using a code entered into a data entry form, eg.

inputting say "rt10c" would enter "red, trousers, size 10, childrens" into appropriate database tables/fields....

any help on how to do this would be greatly appreciated....
 
ok...

you can try to separete value ...

and analize every part of new array... somthing like that

Code:
case ($val[2] == "t") 
{
$midlleval="trousers";
}

Thare are posibilyty to use defoult data base tables values , but i never use tham so i would say anything about tham...
 
I want to have default values depending on the code inputted ( x_code = x_value )..... so that if say x-code, y_code, z_code is entered in my form then x_value, y_value, z_value are selected from their table/s and entered into another table/s as a unique combination.... this is then what will be displayed on my webpage....

I suppose its gonna be a whole bunch of if and select statements and several tables to get where I want to go....
 
Back
Top