I need a help
Posted: Sun Nov 30, 2008 2:39 pm
Hi all,
I have 2 tables in my database. one of them is holding phone number which are GSM,local ect. and minutes of person talk.
for example
49512436544 3.42 min
4924385439 3.50 min
49 is country code:
after 49 : 2 is stands for local and 5 is gsm.
another table is holding prices.
for example
if you called to GSM 4.50 per sec. or local 2.5 per sec. whatever.
I just want to read these number from db. and separate them GSM or local lastly calculate total price and each call's price .
Im new in php. please help me.
I have 2 tables in my database. one of them is holding phone number which are GSM,local ect. and minutes of person talk.
for example
49512436544 3.42 min
4924385439 3.50 min
49 is country code:
after 49 : 2 is stands for local and 5 is gsm.
another table is holding prices.
for example
if you called to GSM 4.50 per sec. or local 2.5 per sec. whatever.
I just want to read these number from db. and separate them GSM or local lastly calculate total price and each call's price .
Im new in php. please help me.