Show Bid Request
update MySQL field with JavaScript
Bid Request Id: 18320
|
|
|
Posted by: |
alfredo1 (0 ratings)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Jun 5, 2002 6:59:41 PM EDT
|
Bidding Closes: |
Jul 11, 2002 9:43:12 PM EDT
|
Viewed (by coders): |
948 times
|
Deadline: |
6/11/2002
TIME EXPIRED
|
|
|
|
Description:
I need the JavaScript code to update the field "stop" from table "1_internet_act" on MySQL database.
I know how to do it on PHP but need someone to program for me the code on JavaScript
Please include all instructions required to open and close databases and similar.
The code on PHP would be as follows:
<?php
// Validate user
include("config.inc.php");
// create connection
$connection = mysql_connect($dbhost,$dbuser,$dbpass) or die ("Couldn't connect to server. Contact your database administrator.");
//select database
$db = mysql_select_db("$dbname",$connection) or die ("Couldn't select database. Contact your database administrator");
$sql = "UPDATE 1_internet_act SET stop= '$stop' WHERE id='$id'";
//execute SQL query and get result
$sql_result = mysql_query($sql,$connection) or die ("Couldn't execute the query $sql. Contact your database administrator ");
if (!$sql_result) {
Print("Couldn't update record! Contact your database administrator ");
Exit;
}//End if !sql
mysql_free_result($sql_result);
mysql_close($connection);
?>
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
Windows2000 and Internet Explorer
Must be 100% finished and received by buyer on:
Jun 11, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
|
N/A
|
Jun 7, 2002 5:07:53 AM EDT
|
9.97
(Excellent)
|
|
|
Doing it from PHP is pretty simple. But you want it in Javascript. I can do it for you using Remote Scripting.
I will charge $75.
Let me know.
Anuj. |
|
|
|
|
|