Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ckdoublenecks

    not getting value from table

    ok, the below code gets me the taxrate but I get this message? "Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\invoice\invcalc.php on line 13" <?php mysql_connect("localhost", "root", ""); mysql_select_db(numbersdb) or die("Unable to select database"); $query = "SELECT...
  2. ckdoublenecks

    not getting value from table

    I'm trying to read the taxrate from the database table and use it with values from another table. the database and table are correct as is the field (taxrate) from the table, value is 0.06. Then I'm trying to multiply that value by the value of a field from another table (charges) then update...
  3. ckdoublenecks

    auto insert

    thanks for the help - solved
  4. ckdoublenecks

    auto insert

    Dan - son - I'm just tring to learn this stuff and I'm really confused now. My menory is really bad and I had help with the original of this program a couple of years ago, which is and has been running for over a year. I'm trying my best to modify it to use it in another application. I can't...
  5. ckdoublenecks

    auto insert

    thanks for the input - solved
  6. ckdoublenecks

    auto insert

    I took a working program and modified it to use different values and can't seem to make it work now. I want have the datepaid, pd & paidsum insert when I key in the amtpaid . <html><head> <!--when the paidamt is keyed in, the current date, pd & paidsum are autoinserted--> <script> function...
  7. ckdoublenecks

    I'd like help with code

    The below code works except that the calcs for "if the amptaid >= totOwed" don't work. I know it has to do with the statement "var totOwed = parseInt(rentdue.value) + parseInt(prevbal.value) + parseInt(secdep.value) + parseInt(damage.value) + parseInt(latechg.value) + parseInt(courtcost.value)...
  8. ckdoublenecks

    Just learning - I need help with this code

    As I indicated in my post, I'm just learning this and thanks for the input but I also indicated in the post that: when I enter the amtpaid the datepaid(current date), the "L"(late), tentpay & paidsum all are inserted.
  9. ckdoublenecks

    Just learning - I need help with this code

    nothing works beyond the //*################### <script> function $_(IDS) { return document.getElementById(IDS); } function calculate_paid() { var amtpaid = document.getElementById("amtpaid"); var rentdue = document.getElementById("rentdue"); var prevbal =...

Part and Inventory Search

Back
Top