111 Topics

Member Avatar for
Member Avatar for seularts

I want to search a combination of values from any given field that has a list of items. Example: id | nume | denumiri_job 1 | my_list | chair,apple,snake,can How can I search for 2 or more elements from the field list? For example if I input in my search …

Member Avatar for diafol
0
6K
Member Avatar for blueguy777

How to remove duplicate mobile numbers from input text box1 and print the result into text box2. Example mobile nos: 7795012345 7795012345 7795012345 7411312354 7411312354 9900454321 9900454321 9632554123 9632554123 output should be: 7795012345 7411312354 9900454321 9632554123 <?php $myarray = array(); $myarray['numbers']=$_POST['numbers']; foreach($myarray as $num){ $numbers=$num; } $unique = array_unique($numbers); $output=implode("<br …

Member Avatar for blueguy777
0
534
Member Avatar for Stagnant

Cell C4 has the expression =565+660+709+1093 Is there a function/nest of functions that can output the number of values being added? BIG NOTE: I AM NOT ASKING FOR THE SUM OF THE EXPRESSION!

Member Avatar for rch1231
0
179
Member Avatar for westsiderailway

Hi Everyone. this is the last part of my function Case "December" If cbMonthly.SelectedItem = "December" Then Dim DecStart As String = "-12-01" Dim DecFin As String = "-01-01" M12S = String.Concat(Year, DecStart) M12F = String.Concat(Year, DecFin) End If End Select Dim Places As New List(Of String) Places.Add(M12S) Places.Add(M12F) Return …

Member Avatar for westsiderailway
0
294
Member Avatar for nike_jj4

Hey guys! I am trying to map the following dictionary <int,List<T>>. I am trying to get the i-th permutation of an input array, the List<t> being the i-th perm itself. If I have: Input Array [1,2,3], the 0-th perm would be [1,2,3], the 1-st [1,3,2] and so on... So, so …

Member Avatar for ddanbe
0
231
Member Avatar for Simon_4

I am maybe blind or so... just got nearly the same problem as before. I not get the values of the selectfields. I got 0 - 8 instead of some strings. Here is the url: http://web159.login-142.hoststar.ch/memberd/de/prices/ Here is my code I use to get it: # read size of one …

Member Avatar for bnmng
0
275
Member Avatar for davidjennings

Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have …

Member Avatar for MaxMir
0
577
Member Avatar for abaddon2031

Im working on a small block of code that compares a argumented value to a file seached value. Every time i run the code it and give it the argumented value either lower or higher than i know the searched value is it gives me the opisite answer of what …

Member Avatar for abaddon2031
0
283
Member Avatar for Sadaf_1

Salam... I have SQl Database...And i am using visual basic 2010 i have a problem with Null values.When in my database data have some null values then data not showing in my crystal report ...crystal report showing blank..I want '0' when data is null..for example my table name is (meetings …

Member Avatar for Reverend Jim
0
337
Member Avatar for diafol

Hi all. Have been racking my brains about how to go about creating a multidimensional array dynamically from an array of keys. Something like... $keys = array('key1', 'key2', 'key3'); $value = 'some value'; // $md = ...???!!!... I need the $md multidimensional array to have the keys thus... $md['key1']['key2']['key3'] = …

Member Avatar for Webville312
0
9K
Member Avatar for Mian Sahib Jan

how to pass the value of one webpage to another at same project i mean me have to webpage one have item and the second for a cart mean to add these item to the cart on one click.me have the following control in item webpage image,lblName,lblPrice,lblQuantity me want to …

0
162
Member Avatar for Riteman

Am doing an application to allocate the seats to the students in a building with rooms. I have almost done to allocate the students appropriatly in the rooms. The problem now is convert them to a single variable. So here is the place am struck with: I have these data …

Member Avatar for Reverend Jim
0
192
Member Avatar for kannan mangalar
Member Avatar for Cristianh21

Hi, i'm trying to select two values from my database. $nc ='North Carolina'; $t ='Hello'; $q = 'SELECT COUNT(state, title) AS c FROM all WHERE state = "' . mysql_real_escape_string($nc) . '" AND title = "' . mysql_real_escape_string($t) . '"'; $rq = mysql_query($q); $fetch = mysql_fetch_assoc($rq); $count = $fetch['c']; echo …

Member Avatar for The Diamonds
0
277
Member Avatar for davidjennings

Hi All having a problem with the following statement " Notice: Undefined index: Username in C:\wamp\www\david\remoteaccess\index.php on line 6". I have tried defining Username in a number of ways, but I seem to missing something. Any help would be great Thanks in advance Thanks <?php session_start(); include("includes/utilities.php"); include("includes/functions.php"); $username = …

Member Avatar for davidjennings
0
365
Member Avatar for narasimha9

This is my display page <label for="City">City</label> <div id="city"> <select id="city" name="city" onChange="display(this.value)"> <option value="" selected="selected">-- Select city --</option> <?php include("getcitylist.php");?> </select> </div> this is my ajax page // JavaScript Document var XMLHttpRequestObject=false; function display(state_id) { if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); } else if(window.ActiveXObject) { XMLHttpRequestObject=new ActiveXObject("Microsoft.XMLHTTP"); } XMLHttpRequestObject.onreadystatechange=function() { if …

Member Avatar for diafol
0
243
Member Avatar for iFrolox

Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice.

Member Avatar for iFrolox
0
220
Member Avatar for Indians

i stored few values through input form. (for example tax and rate field) if i entered tax = 777.77 and rate = 10000 it stored the details to db successfully. retrieve function also done successfully. but i want to show add these two values(tax+rate = total) from db when i …

Member Avatar for diafol
0
212
Member Avatar for Indians

i have the db with serial no and reference no. serial no is auto_increment value. it is worked perfectly. but i want ref no column also as auto_increment value start with 0000001,0000002,0000003...., how to do that? i cannot able to add two auto_increment values in mysql.

Member Avatar for paulkd
0
232
Member Avatar for Aldic

Dear All, I'm working on application in C# which needs to filter "blanks" in one column and copy some value from other column instead. Filtering works perfectly, but copying is not so cool.. It copies some lines, but rest left blank. I cant find out where is problem. If possible …

0
239
Member Avatar for blueguy777

$a = array(000,400,000,500); $b = array(300,400,450,500); $i=0; foreach($b as $k=>$v) { if($v==$a[$i]) { $b[$k]='000'; } $i++; } print_r($b); i want same thing in two dimensional array $a = Array ( [0] => Array ( [0] => 000000 [1] => 000400 [2] => 000450 ) [1] => Array ( [0] => …

Member Avatar for blueguy777
0
325
Member Avatar for de Source

Hi, i want to create a query which select three columns from a table on certain condition now i have got certain with three columns and i can bind this data to a datagridview but before this i want to add a column to dgv say col_new and fill its …

Member Avatar for M.Waqas Aslam
0
300
Member Avatar for mmcdonald

Hello DaniWebers! I'm absolutely shocking when it comes to JavaScript/JQuery and have run into an occurance when I would like to use it. Now before you slap me on the wrist I **DO** intend to learn JS in 2014 (Scouts honour!). I am using this slider: [JQuery - Snap To …

Member Avatar for mmcdonald
0
374
Member Avatar for sweety_1

Hi Can anyone please help me.Im new to coding.Sorry i dont have any code to post.I would try to explain my problem in words.can please some one help me. I have a jsp in which i'm populating a table.In that table i have a column for checkboxes for each row.when …

Member Avatar for LastMitch
0
181
Member Avatar for Pallab.Bhk

Hey I have dictionary like following one dicts = {'met_293': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_394': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]'],'met_309': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_387': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]']} I want to remove keys which have same value like 'met_293' and 'met_309' those two keys have same value at 12th position which is '[KG]EHY' so i want my dictionary like this {'met_293': ['81.0175','4','7','7','29.76','23','1','0','22','28.57','2','[KG]EHY'],'met_394': ['79.9579','4','7','7','29.76','18','3','0','15','28.57','2','EHY[ILV]']} any …

Member Avatar for Pallab.Bhk
0
482
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 eburlea

Hi! I have a form in Drupal that is filled up by an user and sent as email to the server. I have created a new module to modify the values in the form after the user submit it and to send them to the server with new values. Here …

Member Avatar for pritaeas
0
182
Member Avatar for fashxfreak

I have data in which column 'C' have cells which contain multiple values separated by (,).Now I want to get atomic values in all cells of column 'C'. i.e. that for a cell when there is more than one value; separated by (,) it should be copied in the next …

Member Avatar for fashxfreak
0
910
Member Avatar for de Source

hi, i have some logic but unfortunatly m weak in programing need your help guys i am working on a MIS using c# i have a drop down list which display the course id and in my course table one course id could have many student id i want to …

Member Avatar for sariberri
0
196
Member Avatar for RinzLove

Hi, I've problem on the coding to save form values and display on the next page (without database). The code shown here is inside "catalog.html" Onclick image, the input will be saved and display on the next page i.e. "cart.html" I don't need a database. Just temporary save like storing …

Member Avatar for radhakrishna.p
0
296

The End.