Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums

5 Posted Topics

Member Avatar for orcaraheel

I get the value in the database and click on the id field how i past(get ) this field to other location can anyone help me

Member Avatar for cossay
0
99
Member Avatar for nicholaslee21

$con=mysql_connect("$hostname_boss", "$username_boss", "$password_boss")or die("cannot connect"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("$database_boss")or die("cannot select DB"); $update = $_POST['update']; $quantity = $_POST['quantity']; $id = $_POST['id']; if($update){ $insert2="UPDATE productorder SET Product_quantity = '$quantity' WHERE product_id = '$id'"; $resu= mysql_query($insert2); echo "your quantity: $quantity"; echo "your id: $id"; echo …

Member Avatar for orcaraheel
0
5K
Member Avatar for orcaraheel

//$update = $_POST['update']; //$quantity = $_POST['quantity']; //if($update){ //for($a=0;$a<$count;$a++){ mysql_query ("UPDATE productorder SET Product_quantity = '$quantity' WHERE id = '$id'"); THEY ONLY UPDATE THE LAST RECORD HOW I UPDATE THE MULITY RECORDS

Member Avatar for Member #120589
0
195
Member Avatar for orcaraheel

<?php require('Connections/boss.php');?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case …

Member Avatar for wilch
0
149
Member Avatar for orcaraheel

<?php mysql_select_db($database_boss, $boss); $button = $_POST['button']; $quantity = $_POST['quantity']; $proid = $_GET['proid']; $result2 = "UPDATE productorder SET Product_quantity = '$quantity' WHERE proid = '$proid'"; mysql_query($result2); ?>

Member Avatar for rpk2006
0
109

The End.