Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2015-04-03 10:31:51

joel
Member
Registered: 2014-07-04
Posts: 440

Subtract From and Update mysql database field via php

Subtract From and Update mysql database
field via php
Hello Peeps,
I am trying to do the following
1. receive input via a form
2. From the submitted variables, check the
email in the database table and then pick the
number field i want to subtract from
3. subtract the value from the submitted
form from the value in the amount field in
the database (I want to verify that the
submitted value is less than the value in the
database field )
4. Update the database with the value of the
subtraction. ..
5. redirect to another page
I want the code of this script but i 'm not sure how it
will work ..

I need experienced php
programmers to please help me ..

Thank you for your time
and kind consideration ..


Warning! be informed and be forewarned. <p>
<?php
I'm not a native English Man. So my comments might contain some grammatical explosive (ELD), missapropreation of words (dinamyt), The use of wrong words (missiles), & mis spelling of words (war drones). Any of the occurrence can cause havoc. So be warned
?>

Offline

Board footer

Powered by FluxBB