javascript-mysql query in php

I shall send you the ftp and mysql details once i hire You. But this task is max 2 hrs.



<script language="JavaScript">

function joinFields( ){

[url removed, login to view] = 'Discount1Name:' + [url removed, login to view] + ' Discount1:' +

[url removed, login to view] + ' Discount2Name:' + [url removed, login to view] + ' Discount2:' + [url removed, login to view]




<form action="[url removed, login to view]" method="post" name="fmBuy"

onSubmit="joinFields( )">

<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value="[url removed, login to view]"><br>

<input type="text" name="item_name" value="Widget One"><br>

Price: <?php echo "$price"; ?>

<input type="hidden" name="amount" value="<?php echo "$price"; ?> <br>

<input type="hidden" name="currency_code" value="USD">

Discount Coupon 1 <input type="text" name="custom1" > <br>

Discount 1 Amount <?php echo "$disc1"; ?><input type="hidden" name="custom2" value="<?php echo "$price"; ?> <br>

Discount Coupon 2 <input type="text" name="custom3" > <br>

Discount 2 Amount <?php echo "$disc2"; ?><input type="hidden" name="custom4" value="<?php echo "$price"; ?> <br>

<input type="hidden" name="custom" value="">

<?php $fprice=$price-$disc1-$disc2; ?>

Final Price <input type="hidden" name="amount" value="<?php echo "$fprice"; ?>


<input type="image" src="[url removed, login to view]" border="0" name="submit">




1) When I enter a value in item_name input box. It should fetch the price Automatically from the database table priceitem

2) When I enter the discount coupon code1 . It must fetch the discount percentage automatically from the database calculate the discount amount on price and display.

3) When I enter the discount coupon code 2 . It must fetch the discount percentage automatically from the database calculate the discount amount on price and display.

4) The final Price must update itself automatically.

5) You need to create a table for this purpose

Table: priceitem

Item_name Price

A004 10

A8885 12

Af84 13

Table: priceitem

Discount Code Percentage

A0045 3

A8885 4

Af84 6

Taidot: Javascript, MySQL, PHP

Näytä lisää: javascript mysql query php, usd 305, submit a coupon code, php mysql query form calculate, javascript hire, code for update in php, cgi hire, border html 5, javascript max, javascript and mysql, php hire, send query, query table, mysql query, hire php, script update database mysql, task javascript php, fetch post, database javascript, post form hidden, custom function php, php head script, enter coupon code, display text image javascript, mysql function update

Tietoa työnantajasta:
( 47 arvostelua ) Kochi, India

Projektin tunnus: #1749677

Myönnetty käyttäjälle:


I Can Do In 2 [login to view URL] Pm.

$8 USD / tunti
(10 Arvostelua)

9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_18% %project_currencyDetails_sign_sub_19%/tunti tähän työhön


Sir, sir, end your search here. Get your AJAX based work done as soon as possible. Please check our private message. Thanks

$8 USD / tunti
(92 arvostelua)

Hi, please check pmb for portfolio and solution.

$8 USD / tunti
(45 arvostelua)

Hi, I have understood your requirements.

$8 USD / tunti
(44 arvostelua)

I am highly interested.

$4 USD / tunti
(12 arvostelua)

Hi sir i understand what you would and i'm ready to do it today. please send me you skype id i will add you or email me here. Thank you

$15 USD / tunti
(21 arvostelua)

Ready to complete

$8 USD / tunti
(6 arvostelua)

Hello. I am available to start right now.

$10 USD / tunti
(0 arvostelua)

Custom software development - The Administrator removed this message due to advertising which breaches our Terms and Conditions.

$33 USD / tunti
(0 arvostelua)

Please check your PMB.

$5 USD / tunti
(0 arvostelua)