fofas™ Posted October 1, 2012 Posted October 1, 2012 gia sas paides exo katevasi to account manager tou Pauler kai den dini item sto char an mpori kapios na me help gt o Pauler den Apantai Thnx. <?php session_start(); include ('connect.php'); if(!empty($_POST['submit'])) { $name = $_POST['name']; $itemid = $_POST['item']; $count = $_POST['count']; if ($name && $itemid && $count) { $check_one = mysql_num_rows(mysql_query("SELECT * FROM characters WHERE char_name='".$name."'")); if ($check_one != 0) { $check_two = mysql_num_rows(mysql_query("SELECT * FROM etcitem WHERE item_id='".$itemid."'")); if ($check_two != 0) { $row = mysql_fetch_assoc(mysql_query("SELECT * FROM characters WHERE char_name='".$name."'")); $obj_Id = $row['obj_Id']; mysql_query("INSERT INTO items VALUES ('".$obj_Id."', '', '".$itemid."', '".$count."', '0', 'INVENTORY', '0', '0', '0', '', '0', '0', '-1')"); echo "<b>Your Item Has Been Inserted.</b>"; } else { echo "<b>This item does not exist.</b>"; } } else { echo "<b>This characters does not exist.</b>"; } } } ?> Quote
0 Zake Posted October 3, 2012 Posted October 3, 2012 Δεν είναι το κατάλληλο board για τέτοιου είδους βοήθεια, στείλε pm στον Pauler. Quote
Question
fofas™
gia sas paides exo katevasi to account manager tou Pauler kai den dini item sto char an mpori kapios na me help gt o Pauler den Apantai Thnx.
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.