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
  Help needed, please (cpa + seo) Triplex 1 178 2018-09-04, 03:54 PM
Last Post: Nem
  Domain Query SupremeWarrior 0 109 2018-08-12, 05:36 PM
Last Post: SupremeWarrior
  [Help Needed] IG+CPA how to earn more? mdsajib 2 257 2018-08-04, 10:16 AM
Last Post: mdsajib
  Max Bounty/CPA with AdWords -- Help Needed grahammiranda13 8 755 2018-08-03, 05:29 AM
Last Post: CharlieHarper
  Needed help with cent os 7 PoS3!DoN 4 366 2018-03-31, 09:15 PM
Last Post: Innowebex





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

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