355 Topics

Member Avatar for
Member Avatar for cussel

> hey guys, how to get min value in array 2D except value zero '0'and also key ? > i've try use min and array_filter function to solve it > can you help me?please Array ( [0] => Array ( [0] => 0 [1] => 6 [2] => 4 ) …

Member Avatar for iamthwee
0
308
Member Avatar for imti321

<label class='colwidth' for='selectc' >Select Courses*: </label> <form action="send.php" name="course" id="states"method="post"> <Select name="States" id="State" style="width:40px;" > <option value=></option> <option value="1">HTML 5</option> <option value="2">JQuery</option> <option value="android">American Samoa</option> <option value="flash">Flash</option> <option value="flex">Flex</option> <option value="javascript">Javascript</option> </Select> <input type='submit' name='course' value='Submit' /> </form> And my php file is this <?php //Place state array at the …

Member Avatar for Webville312
0
348
Member Avatar for FaisalSarfraz

Hi all I have a piece of program in which i am taking input from another jframe and then using that input i am trying to show results from RDF/XML file, now the issue is that i am trying to convert that input(which is obviouslyin string) to Property datatype of …

0
133
Member Avatar for serph09

So I have this code here: http://jsfiddle.net/4Cqkh/1/ What I'm trying to do is when I click on a thumbnail, the below larger image of it should display according to which thumbnail is clicked. I tried switching the larger image's src to that of the thumbnail src's value when clicked but …

Member Avatar for serph09
0
247
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Member Avatar for spowel4
0
239
Member Avatar for de Source

i want to upload the attendance of students i am able to upload a xlsx file and transfer its data to tbl_temp now i have two tables tbl_s_attendance EP_Number Attendance course_id class_id 105078 105076 105075 105077 105079 tbl_Temp EP_Number Attendance 105075 P 105076 P 105077 P 105078 A 105079 A …

Member Avatar for annaharris
0
172
Member Avatar for de Source

Hi, i am making an asp application and in code behind file i am trying to bound drop down list from tbl_teacher in which i concatenate the first and last name by this query `string sqlStatement = "SELECT teacher_id, fname + lname AS Name FROM tbl_teacher";' and it is working …

Member Avatar for de Source
0
267
Member Avatar for de Source

hi, i have a drop down list populated with column names of tbl_student and a text box for searching specific value coresponding to the value selected in drop down list i do not have much knowlewdge about qureies might b m lacking there error is Incorrect syntax near '=' my …

Member Avatar for de Source
0
833
Member Avatar for jean122

Hello, My name is Jeannot Thewissen. I have a question. What is the value of an Original Microsoft xbox with one controller and 7 games. I hope to get a reply soon, because I got two of them and I want to sell one. Jeannot Thewissen

Member Avatar for <M/>
0
349
Member Avatar for ryan311

I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } …

Member Avatar for ryan311
0
12K
Member Avatar for cobbinaloic

Since it started in 2005, i have been hearing that mashable is doing extremely well in the online market. How well it is doing? what is it worth right now?

Member Avatar for IIM
0
201
Member Avatar for MuthuM123

Hello Everyone, I have a problem and looking forward for your kind help. I need the <select> tags option value to be set selected on the page load. The problem is that everytime the value which is to be selected may change on each page load. Thank you.

Member Avatar for IIM
0
249
Member Avatar for SomSamui

I have the follow code. And what I like to have, is, the value from the select1 in the 2. Form, input "girl" value. But I do not know, how to do... I always have an empty value in the 2. form. <?php mysql_connect("localhost:8888", "root", "root") or die("Connection Failed"); mysql_select_db("usr_web202_9")or …

Member Avatar for SomSamui
0
231
Member Avatar for Naruse
Member Avatar for RubyRuby

[WinForms].I have 3 columns in a gridview - code,Qty,name.If a cell(Say Code), is in edit mode, pressing the arrow or tab keys will fire the 'CellEndEdit' event and after that,moves the selection to the next cell. I want to have different selected cell if it is an arrow key and …

Member Avatar for RubyRuby
0
810
Member Avatar for kebby2

i am still learning,pls i need help,i want each and everytime i submit to database all the html tables with value should relect in database,i mean all the table should show in the database this my posting only display one table ............help thanks $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction …

Member Avatar for LastMitch
0
276
Member Avatar for Fiorentino01^

Hi I am doing a Tizag tutorial.I have created this table products with phpMyAdm in and started to populate the field.When it comes to price if I insert 13.99 the amount is rounded up to 14.I have tried everything changing to decimal, float, double but nothing seems to work,it keeps …

Member Avatar for TonyG_cyprus
0
227
Member Avatar for guilherme.carvalho.9250

Hello to everyone, im having trouble getting the value of a combobox in HTML to php! Frist I import data from a mysql collum into the combobox, being this the value of the combobox! I want to be able to get the selected value when I submit my form. I …

Member Avatar for broj1
0
9K
Member Avatar for Fiorentino01^

Hi I am running phpMyAdmin 5.6. I have created a table as described in a tutorial. This table is supposed to have a null value in a text field, I cannot do it, I tried everything.The examples on the web refer to older versions and I keep getting error.I even …

Member Avatar for Fiorentino01^
0
289
Member Avatar for aneeqtariq_143

I have two fields in table, (i) section_from & (ii) section_to, both fields has Date datatype, these fields tells us that this law section is enforced From(section_from) this date To(section_to) this date. The problem is, the latest law sections (active law) which are issued by the government has no specific …

Member Avatar for pritaeas
0
202
Member Avatar for eng442

It's been a long time since I don't post here, even forgot my username. Sorry if this is the wrong section. I can't get the $_POST['name'] values sent from an html form on my php file. I've seen lots of similar questions but nothing helped. I have lot's of includes …

Member Avatar for eng442
0
520
Member Avatar for winbala5

hi all, am trying to add google chart to my application. i want a graph like the one attached. Below is the code which i am using to generate the GRAPH. i am able to generate for only 1 graph My question is how to pass value dynamically and to …

Member Avatar for pritaeas
0
240
Member Avatar for rubai

I want to store these submitted values. Can it be possible without database? using just array. I don't want to store values for a session. Just for long time unless deleted. <form id="form1" name="form1" method="post" action=""> <form id="form1" name="form1" method="post" action=""> <p> <label for="num1">Some text</label> <input type="text" name="num1" id="num1" /> …

Member Avatar for rubai
0
2K
Member Avatar for Start4me

I want to create a method that is meant to protect against entering a wrong value for gender. The method **fineGender** below, will return true if the correct gender is entered and false otherwise. // postcondition: fineGender returns true if argument g equals M, m, F or f // and …

Member Avatar for andreas.bjorn
0
325
Member Avatar for hatebin

Hi all ! 1. I'm developing a Database Web aplication with PrimeFaces, JSF frameworks. 2. I've allready implemented Managment Bean, Session Bean and EntityClass. 3. What's the problem ? I need to populate `<p:dataTable>` with data from Dbase, but I need filtering on dBase level, because I'm going to deel …

Member Avatar for LastMitch
0
188
Member Avatar for aneeqtariq_143

i am trying to get the value of radio button which is generated by jquery. I think there is some problem in call events. Here is my code. HTML `<div id="divOption1"></div>` Jquery radio button generate `document.getElementById('divOption1').innerHTML = '<input id="option1" type="radio" value="1"/> '+ questions[currentQuestion]['option1'];` here i call jquery function to get …

Member Avatar for ruchi18
0
345
Member Avatar for paulablanca

I have a datagridview and I want to pass some of its value to another datagridview after selecting the values and clicking a command button. Is there any possible ways for me to do it? Thanks! God Bless. :D

Member Avatar for arun1123
0
4K
Member Avatar for somjit{}

this code gives the correct result upto size 6 (i'v run this a few times, and 6 seems to be the boundary), although the intermediate steps are all insane! then onwards, from size 7, it returns minimum value 0 /*minimum of an array using recursion*/ #include<stdio.h> #include<stdlib.h> int findMin(int* arr,int …

Member Avatar for somjit{}
0
361
Member Avatar for arishy

I am attaching the saved html of a usage report. Basically, it gives you daily usage by date. I needed a better data like the accumulated usage for the month to date of subscription, AND the percentage of quota use ..etc.. I wrote jquery to do that. My first attempt …

Member Avatar for arishy
0
106
Member Avatar for subrata_ushasi

Hi , I have return type object is "$answer" and I am getting the output by ussing "echo $answer"; is : array 'AnswerId' => int 1 'Comment' => string 'The license is found.OK' 'LicenseInt' => array 'LicenseID' => string 'L005673’. 'Prod_ID' => int 5644 'LicenseDate' => object(DateTime)[35] public 'date' => …

Member Avatar for subrata_ushasi
0
205

The End.