355 Topics
|
|
So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> … |
|
The following code unable to insert null or blank value into table called custreg i.e. $sagentid and $sagentname. if(isset($_POST['Submit'])){ $reg_no=$_POST['reg_no']; $firstname=strtoupper(str_replace(',', '' , $_POST['firstname'])); $lastname=strtoupper(str_replace(',', '' , $_POST['lastname'])); $mobno1=$_POST['mobno1']; $mobno2=$_POST['mobno2']; $address=strtoupper($_POST['address']); $city=strtoupper($_POST['city']); $dateofjoin=$_POST['dateofjoin']; $regfee=$_POST['regfee']; $magentid=$_POST['magentid']; $sagentid=$_POST['sagentid']; $skimcity=$_POST['skimcity']; $skimyear=$_POST['skimyear']; $skimname=$_POST['skimname']; $cust_fullname = $firstname.' '.$lastname; $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = … |
|
Hi.. i want to get all columns from tbl_class where course_id of tbl_course is equal to course_id of tbl_class more over course_id of tbl_course should be thw one who has semester = 5 brife structure of tables are: tbl_class >class_id >course_id >class_room tbl_course >course_id >semester i have design this kind … |
|
i want to get table-tr-td values without any id,class. |
|
I copied a list into Excel and some of the list formatted into the neihgboring columns instead of lining up in the list. I need to get the items floating out in the columns back into the proper place in the list. I assume I need to somehow run a … |
|
Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = … |
|
how can i paste result from excel formula to value or even store the result into a string below codes does not seem to works... For x = 2 To rowcount worksheet2.Range("B" & x).Value = worksheet2.Range("D" & x).Text worksheet2.Range("C" & x).Value = worksheet2.Range("E" & x).Text Next worksheet2.Range("C" & x).Value = … |
|
What I am trying to do is delete the key value pairs out of a dictionary if the value is = 0. I seem not to be acheiving that so far. Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more … |
|
**Clearing up php retrieval of form variables** the basics on how to best submit and retrieve form values in php focusing on checkboxes because they seem to be the most diffucult to understand. When posting form data to another page your naming convention makes all the difference in the world … |
|
i want to comare textbox value with datagridview items before adding this textbox value in datagridview |
|
$result123=mysql_query("select *from semdropdown"); <td><label for="textfield8">Semester </label></td> <td colspan="3"><select name="semester" value="<?php echo $semesterid; ?>"> <option value="">Select Semester</option> <?php while($row123 = mysql_fetch_array($result123)) { if($semesterid == $row123[semesterid]) { $selvar = "selected"; } echo "<option value='$row123[semesterid]' ". $selvar . ">$row123[semesterkey]</option>"; $selvar =""; } ?> </select> </p> <p></p></td> </tr> $result123=mysql_query("select *from semdropdown"); <tr> <td><label for="textfield8">Semester … |
|
So for my homework i needa write a code that requires me to look up on a T key and adding stuff to T values. Could someone help me plz? (ie can i set both the key and value to template type) p.s. sorry not being able to expain the … |
|
Hello there i was typing a python code and got this error saying: 26 27 for eil in open("msgs.txt"): # nuskaito ir parodo visas zinutes => 28 date, person , msg = eil.split("#") 29 print(date+person+"<b>"+msg+"</b><br> <hr>") 30 date = '', person = '', msg = ' ', eil = '----\n', … |
|
im trying to get the values of the text field displayed even after inserting the data into the database but im not doing it right because this error "<br /><b>Notice</b>: Undefined index: basic in <b>C:\xampp\htdocs\CashFlow\income.php</b> on line <b>77</b><br />" is shown inside the text field instead. There was one thread … |
|
Hello, My name is Jeannot Thewissen. I want to sell my computer and I want to know what is the value of my PC. The specifications are: - Thermaltake v3 Black (tower) - Ms-Tech 650Watt PSU - AMD Athlon II x4 645 CPU (4x 3.1Ghz) - 8GB RAM DDR3 1600 … |
|
|
I am trying to make a calculator to calculate your age in dog years, the following is the code I have so far, minus the html portion of it <?php if (!isset($_POST['your_age']) ) { header("Location: dog_form.html"); exit; } if ($_POST['your_age'] == "your_age") { $result = ($_POST['your_age'] *7; if ($_POST['your_age'] >= … |
hi all, i'm difficult to get values array condition: 1. if value only one get values 2. if value same then get value with index or key most high 3. if value same and key most high get all example: $data = Array(Array ("1" => "12306") , Array ("0" => … |
|
Hi Friends, I am struggling from last couple of days with this paypal return array. After completion of successful transaction in Live account, Paypal sends empty resultset to my website. Is there anything i need to set in Mercant paypal account ? Coming to Sandbox, everything is working fine. Please … |
|
Hi, I'm sorry if I had post duplicate post. I had join this 2 table (dt_dict_tbl - store dictionary, sdn5_5 - store accumulate value for reporting). Here the table structure **dt_dict_tbl** CREATE TABLE `dt_dict_tbl` ( `dtDictCode` VARCHAR (30), `dtDictDesc` VARCHAR (600), `rptCode` VARCHAR (30), `rptSubCode` VARCHAR (30), `dtCreatedDate` TIMESTAMP , … |
|
hi all, how to check same values array if it values is the high values in array associative and get it values? example 1: Array ( [value 1] => 0.8434 [value 4] => 0.8434 [value 6] => 0.8434 [value 3] => 0.3434 [value 2] => 0.3434 [value 7] => 0.2114 … |
|
hy all, how to get previous value and check different between recently value and previous values in loop < 0.5? if different value < 0.5 get it's array please help me define('DIV', 0.5); function iteration($data, $data2) { $m1=$m2=$data; $m3=multiply($m1,$m2); echo "iteration 1:\n"; print_r($m3); $temp_m3 = $m3; for ($i=0;$i<count($temp_m3);$i++) { for … |
|
I want to change form1 textbox1 text from from2 variable. This is the flow. 1. Show form1 2. click button in form1 3. then show form2 (form1 do not hide. It is still visible) 4. click button in form2 (form2 has variable and it set to form1 text box and … |
|
Hi, how can i know (with an alert) the value i selected, from the #layout_select: <script> $(document).ready(function() { var optarray = $("#layout_select").children('option').map(function() { return { "value": this.value, "option": "<option value='" + this.value + "'>" + this.text + "</option>" } }) $("#column_select").change(function() { $("#layout_select").children('option').remove(); var addoptarr = []; for (i = … |
|
I am trying to work out how to pass a pointer from my C# interface application to the C++ back-end functionality DLL. I tried searching Google but can't work out what I'm doing wrong.. I'm used to using * for pointers and just changing the value in the pointer through … |
|
Hi Everyone, I have some issue due to lack of my programming knowledge. I wanna find what selected checkboxes below form was. So I don’t have good way to solve this. Quoted Text Here Thank you all |
|
In example.aspx, i have a html textbox named txtbox_1. In it, I have the following value: **1a,3d,2cc,wedd,aqq** I would like to read individual values separated by commas and place it different textbosz. currently i can read the textbox value as a whole and not individually. Hope this is clear. Would … |
|
Hello. I need to create an array dynamically from a string value. Please advise how is it possible to retrieve the array values by keys. $mystring = 'myarray'; $myarray = ['a','b','c']; echo '<pre>'; print_r($$mystring); // it works properly echo '</pre>'; echo $$mystring[0]; // returns error |
|
I have a query in php that has an offset in it. I want the offset value to be a variable but I am not sure how to do so. This is my query but it comes up as an error. $query = "SELECT * FROM comments WHERE `commenter_username` IN … |
|
I need to set a cookie with an array as a value. Is the best way to run serialize() on the data? |
|
hello everyone, I seek help please to find a program c + + that can read images from different types bmp, jpeg, png and put the pixels values in a vector, modified pixels valus, then saved the picture change to a different location, I inform you that I am working … |
The End.