Đã hoàn thành

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

Kĩ năng: Javascript, MySQL, PHP

Xem nhiều hơn: 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

Về Bên Thuê:
( 47 nhận xét ) Kochi, India

ID dự án: #1749677

Được trao cho:


I Can Do In 2 [url removed, login to view] Pm.

$8 USD / giờ
(10 Đánh Giá)

9 freelancer đang chào giá trung bình $11/giờ cho công việc này


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

$8 USD / giờ
(92 Nhận xét)

Hi, please check pmb for portfolio and solution.

$8 USD / giờ
(45 Nhận xét)

Hi, I have understood your requirements.

$8 USD / giờ
(44 Nhận xét)

I am highly interested.

$4 USD / giờ
(12 Nhận xét)

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 / giờ
(21 Nhận xét)

Ready to complete

$8 USD / giờ
(6 Nhận xét)

Hello. I am available to start right now.

$10 USD / giờ
(0 Nhận xét)

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

$33 USD / giờ
(0 Nhận xét)

Please check your PMB.

$5 USD / giờ
(0 Nhận xét)