SQL Query Help Needed
2014-08-03, 12:41 AM,
#1
Hey,

for example:
Someone has 10 dollar on his account.
He purchases a 8 dollar product.

What is the SQL query to substract the 8 from his account?

Thanks for helping.
Reply
Share This Thread :

2014-08-03, 12:51 AM,
#2
it is rather easy , need two things , full database administration and website in php

for connection you need google help , get a code for database connection ,
it would give your php script database admin power

then,
get value from that column using: select price from table where id= this and this

then perform calculations , any

then use update query : Insert into

нα¢кιηg ιѕ ησт α ¢яιмє, ιѕ αη αят.
Reply
2014-08-03, 12:54 AM,
#3
(2014-08-03, 12:51 AM)cpa(newbie) Wrote: it is rather easy , need two things , full database administration and website in php

for connection you need google help , get a code for database connection ,
it would give your php script database admin power

then,
get value from that column using: select price from table where id= this and this

then perform calculations , any

then use update query : Insert into
I thought it was just a simple query, I used this method in C# once too, thanks for helping :D
Reply


Related Threads
Thread Author Replies Views Last Post
  shared hosting suggestion needed CPATracker 2 131 2018-11-11, 03:51 PM
Last Post: fufaji
  KWfinder needed naathanz 11 1,699 2018-11-07, 02:20 AM
Last Post: sangtaogifts03
  Help needed, please (cpa + seo) Triplex 1 249 2018-09-04, 03:54 PM
Last Post: Nem
  Domain Query SupremeWarrior 0 156 2018-08-12, 05:36 PM
Last Post: SupremeWarrior
  [Help Needed] IG+CPA how to earn more? mdsajib 2 336 2018-08-04, 10:16 AM
Last Post: mdsajib





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top